adevs::SimpleDigraph< VALUE, T > Class Template Reference

#include <adevs_simpledigraph.h>

Inheritance diagram for adevs::SimpleDigraph< VALUE, T >:
adevs::Network< VALUE, T > adevs::Devs< X, T >

List of all members.

Public Types

typedef Devs< VALUE, T > Component
 A component of the SimpleDigraph model.

Public Member Functions

 SimpleDigraph ()
 Construct a network without components.
void add (Component *model)
 Add a model to the network.
void couple (Component *src, Component *dst)
 Couple the source model to the destination model.
void getComponents (Set< Component * > &c)
 Puts the network's set of components into c.
void route (const VALUE &x, Component *model, Bag< Event< VALUE, T > > &r)
 Route an event according to the network's couplings.
 ~SimpleDigraph ()
 Destructor. Destroys all of the component models.

Detailed Description

template<class VALUE, class T = double>
class adevs::SimpleDigraph< VALUE, T >

This is a very simple digraph model for connecting single input/single output systems. Output generated by a component model is sent to all components connected to it.


The documentation for this class was generated from the following file:

Generated on 3 Jul 2013 for adevs by  doxygen 1.6.1