cbd_design.mvc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. include "primitives.alh"
  2. Class Float {}
  3. Class String {}
  4. Class Block{}
  5. Class ICBlock{}
  6. Class ConstantBlock{
  7. name = "Constant"
  8. value : Float {
  9. target_lower_cardinality = 1
  10. target_upper_cardinality = 1
  11. }
  12. }
  13. Class AdditionBlock{
  14. name = "Addition"
  15. }
  16. Class NegatorBlock{
  17. name = "Negator"
  18. }
  19. Class MultiplyBlock{
  20. name = "Multiply"
  21. }
  22. Class InverseBlock{
  23. name = "Inverse"
  24. }
  25. Class DelayBlock{
  26. name = "Delay"
  27. }
  28. Class IntegratorBlock{
  29. name = "Integrator"
  30. }
  31. Class DerivatorBlock{
  32. name = "Derivator"
  33. }
  34. Class ProbeBlock{
  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. }
  46. Inheritance (ConstantBlock, Block){}
  47. Inheritance (AdditionBlock, Block){}
  48. Inheritance (NegatorBlock, Block){}
  49. Inheritance (MultiplyBlock, Block){}
  50. Inheritance (InverseBlock, Block){}
  51. Inheritance (ProbeBlock, Block){}
  52. Inheritance (ICBlock, Block){}
  53. Inheritance (DelayBlock, ICBlock){}
  54. Inheritance (IntegratorBlock, ICBlock){}
  55. Inheritance (DerivatorBlock, ICBlock){}