adevs
Class Devs

java.lang.Object
  extended by adevs.Devs
Direct Known Subclasses:
Atomic, Network

public abstract class Devs
extends java.lang.Object

This is the base class for all DEVS models.

See Also:
Network, Atomic

Constructor Summary
protected Devs(boolean is_atomic)
           
 
Method Summary
 long getNativePeer()
           
 boolean model_transition()
          This is the Dynamic DEVS model transition function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Devs

protected Devs(boolean is_atomic)
Method Detail

model_transition

public boolean model_transition()
This is the Dynamic DEVS model transition function. For Atomic models, this method is called after each change of the model's state. If the method returns true, the model_transition method of the model's parent (a Network) is called. For a Network model, this method may be used to add and remove components the the model's set of components. Only models added and removed by the model_transition function are guaranteed to be properly handled by the Simulator. Method returns false by default.


getNativePeer

public final long getNativePeer()