CBD_MM.mvc 948 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. include "primitives.alh"
  2. SimpleAttribute Float {}
  3. SimpleAttribute String {}
  4. Class Block{}
  5. Class ICBlock : Block {}
  6. Class ConstantBlock : Block {
  7. name = "Constant"
  8. value : Float {
  9. target_lower_cardinality = 1
  10. target_upper_cardinality = 1
  11. }
  12. }
  13. Class AdditionBlock : Block {
  14. name = "Addition"
  15. }
  16. Class NegatorBlock : Block{
  17. name = "Negator"
  18. }
  19. Class MultiplyBlock : Block {
  20. name = "Multiply"
  21. }
  22. Class InverseBlock : Block {
  23. name = "Inverse"
  24. }
  25. Class DelayBlock : ICBlock {
  26. name = "Delay"
  27. }
  28. Class IntegratorBlock : ICBlock {
  29. name = "Integrator"
  30. }
  31. Class DerivatorBlock : ICBlock {
  32. name = "Derivator"
  33. }
  34. Class ProbeBlock : Block {
  35. name = "Probe"
  36. name : String {
  37. target_lower_cardinality = 1
  38. target_upper_cardinality = 1
  39. }
  40. }
  41. Association Link(Block, Block){}
  42. Association InitialCondition(Block, ICBlock){
  43. source_lower_cardinality = 1
  44. source_upper_cardinality = 1
  45. }