Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337308

Summary: Provide a "behavior" editor
Product: [Modeling] AMP Reporter: lukschmi <lukas.schmid>
Component: AMF UIAssignee: Miles Parker <milesparker>
Status: NEW --- QA Contact: Miles Parker <milesparker>
Severity: enhancement    
Priority: P3 CC: jonas.ruettimann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Stock and Flow Representation of an SD Model (GlobalSimulate) none

Description lukschmi CLA 2011-02-16 08:24:54 EST
Build Identifier: 

Beside the tree structured editor provided within the agent modeling perspective it would be very nice to have something like a "behavior-editor". Such an editor is shown in the video below (at point 5'50'').

http://www.youtube.com/watch?v=lYp7Pq44CNM&feature=related

However I was unable to find this editor in the current (0.8.0) version of amp.

Reproducible: Always
Comment 1 Miles Parker CLA 2011-02-16 16:13:14 EST
The dynamic editor that was depicted in the screencast is actually a Metascape tool. (Developed to be a part of what would hopefully be a value added product to support AMP development.) Sorry if that created any confusion. I agree that we need something like this for AMP. My thought is to do more of a GMF or better a Graphiti based implementation that includes support for structures. In particular I think this might be a good opportunity to integrate SD and AMP styles of modeling. Thoughts?
Comment 2 lukschmi CLA 2011-02-19 04:43:55 EST
Created attachment 189343 [details]
Stock and Flow Representation of an SD Model (GlobalSimulate)
Comment 3 lukschmi CLA 2011-02-19 04:45:02 EST
A very nice thing would be to have as a modellers support a state-chart
representation for the agent-modeller and a stock-and-flow representation for
the sd-modeller.

We have already done some efforts for a stock-and-flow representation within an
older version of GlobalSimulate (see attachement) and I think it would be
possible to add such an editor to amp as well.

What do you think about the state-chart representation? Have you ever thought
about this? Do you see any chance to contribute this for the agent part of amp?
Comment 4 lukschmi CLA 2011-02-19 04:57:04 EST
A description of possible statechart diagrams:

http://www.maruf.ca/files/caadoc/CAADegTechArticles/CAADegUMLDescription.htm

... and an academic paper about statecharts from D. Harel (1984):

http://www.cs.sjsu.edu/~pearce/modules/lectures/uml/behavior/10.1.1.20.4799.pdf
Comment 5 Miles Parker CLA 2011-02-24 14:01:21 EST
(In reply to comment #3)

> What do you think about the state-chart representation? Have you ever thought
> about this? Do you see any chance to contribute this for the agent part of amp?

I think the state chart idea is very important and have talked to a few people about the idea. I think it fit's in very well with the stocks and flows idea and the general design. What I want to stay away from is more of a flow-charty feel, but that's just my bias. I don't have any plans to do such a thing in the near term as I have far too much on my plate already, but if someone would want to take lead on this in Graffiti or GMF or whatever I would definitely assist with the effort.