Base type for all atomic DEVS models
Inheritance:
Public Methods
-
Atomic()
-
The constructor should place the model into its initial state
-
virtual void delta_int() = 0
- Internal transition function
-
virtual void delta_ext(double e, const Bag<X>& xb) = 0
- External transition function.
-
virtual void delta_conf(const Bag<X>& xb) = 0
- Confluent transition function
-
virtual void output_func(Bag<X>& yb) = 0
- Output function.
-
virtual double ta() = 0
- Time advance function.
-
virtual void gc_output(Bag<X>& g) = 0
-
Garbage collection function.
-
virtual ~Atomic()
- Destructor
-
Atomic<X> * typeIsAtomic()
- Returns a pointer to this model
Inherited from Devs:
Public Methods
-
virtual Network<X> * typeIsNetwork()
-
const Network<X> * getParent() const
-
Network<X> * getParent()
-
void setParent(Network<X>* parent)
-
virtual bool model_transition()
Documentation
Base type for all atomic DEVS models
Atomic()
-
The constructor should place the model into its initial state
virtual void delta_int() = 0
- Internal transition function
virtual void delta_ext(double e, const Bag<X>& xb) = 0
- External transition function.
virtual void delta_conf(const Bag<X>& xb) = 0
- Confluent transition function
virtual void output_func(Bag<X>& yb) = 0
- Output function. Output values should be added to the bag y.
virtual double ta() = 0
- Time advance function. DBL_MAX is used as infinity.
virtual void gc_output(Bag<X>& g) = 0
-
Garbage collection function. The objects in g are
no longer in use by the simulation engine and should be disposed of.
` Note that the elements in g are only those objects produced as
output by this model.
virtual ~Atomic()
- Destructor
Atomic<X> * typeIsAtomic()
- Returns a pointer to this model
- This class has no child classes.
- Friends:
- class Simulator
class Schedule
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.