Simulation 2011 EDI
Simulation design Define your own data.xml At least: code, description, place Tailor network.xml Your own map
Tailoring Load data.xml Convert Element into a specific object Insert objects into set and hash table Load network.xml Convert Element into Place Insert objects into hash table
Simulation Simulation Entity (transport vehicle) It visits places It performs actions on objects at each place Define transport’s starting node  Repeat While there are simulation objects left
Flow diagram Select node Node arrival Arrival message Object actions Action message State change  on object No Yes More objects to manage?
Selecting next node Get object array (from set) Loop through them
Messages Depending on the kind of event Moving towards <place> <Action> on object <description> (<code>) at: <place>
Tasks Class that implements simulation’s flow diagram.  Prototype of a simplified simulation where every node is directly connected to every node.

Simulación 2011 en

  • 1.
  • 2.
    Simulation design Defineyour own data.xml At least: code, description, place Tailor network.xml Your own map
  • 3.
    Tailoring Load data.xmlConvert Element into a specific object Insert objects into set and hash table Load network.xml Convert Element into Place Insert objects into hash table
  • 4.
    Simulation Simulation Entity(transport vehicle) It visits places It performs actions on objects at each place Define transport’s starting node Repeat While there are simulation objects left
  • 5.
    Flow diagram Selectnode Node arrival Arrival message Object actions Action message State change on object No Yes More objects to manage?
  • 6.
    Selecting next nodeGet object array (from set) Loop through them
  • 7.
    Messages Depending onthe kind of event Moving towards <place> <Action> on object <description> (<code>) at: <place>
  • 8.
    Tasks Class thatimplements simulation’s flow diagram. Prototype of a simplified simulation where every node is directly connected to every node.