180 likes | 494 Views
DEVS M&S Tutorial 2. Chungman Seo cseo@email.arizona.edu. Contents. DEVSJAVA Lib DEVS Interface Expression of Atomic Model State Diagram DEVSJAVA code Structure Atomic model Coupled model Exercise : Fire once neuron. DEVS Interface. DEVS Supporting Interface DEVS Modeling Interface
E N D
DEVS M&S Tutorial 2 Chungman Seo cseo@email.arizona.edu
Contents • DEVSJAVA Lib • DEVS Interface • Expression of Atomic Model • State Diagram • DEVSJAVA code Structure • Atomic model • Coupled model • Exercise : Fire once neuron
DEVS Interface • DEVS Supporting Interface • DEVS Modeling Interface • DEVS Simulation Interface
DEVS Supporting Interface • Provide a supporting environment for implementing DEVS implementations • Basic data structures • Entity • Content • Message • Port
Message-related-Interfaces • ContentInterface • A Pair of port-value • MessageInterface • A collection of contents
Extending the “Core” interfaces • interface dynamicStructureInterface { void addCoupling(String srcName, String p1, String destName, String p2); void removeCoupling(String srcName, String p1, String destName, String p2); void addModel(String ModelName); void removeModel(String ModelName); void addInport(String ModelName, String port); void addOutport(String ModelName, String port); void removeInport(String ModelName, String port);
coreSimulatorInterface CoordinatorInterface atomicSimulatorInterface CoupledSimulatorInterface CoupledCoordinatorInterface Simulator Interfaces
receptive refract fire Out Fire-once Neuron Input Firing delay >0 ta = ∞ ta = ∞ Exercise : Fire-Once Neuron