DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <NodeInstance.hh>
Public Types | |
typedef NodeInstanceData::VariableIndex | VariableIndex |
typedef vector< NodeInstanceData * >::size_type | SubNodeIndex |
Private Attributes | |
NodeInstanceData * | _data |
Friends | |
ostream & | operator<< (ostream &os, const NodeInstance &instance) |
This class implements a Node instance of the model. For example, if a node A is defined and in another node there is a sub-node b:A then the object 'b' is a NodeInstance of the Node A This class also internaly encodes the data as a set of BDDs A NodeInstance has its own variable and formula factories for the encoding into BDDs. The class NodeInstance is very light as it is just a pointer on an NodeInstanceData object. So it can be used like a Value and included in STL-containers without any problem of efficiency.
Definition at line 200 of file NodeInstance.hh.
typedef vector<NodeInstanceData *>::size_type Diades::Altarica::NodeInstance::SubNodeIndex |
Definition at line 412 of file NodeInstance.hh.
Definition at line 289 of file NodeInstance.hh.
|
inline |
Definition at line 206 of file NodeInstance.hh.
|
inline |
NodeInstance constructor
type | the type of the NodeInstance (that is a Node) |
name | the name of the NodeInstance |
Definition at line 213 of file NodeInstance.hh.
|
inline |
copy constructor
Definition at line 218 of file NodeInstance.hh.
|
inline |
Definition at line 442 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::factory().
|
inline |
Definition at line 376 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::firstFlowVariableIndex().
|
inline |
Definition at line 320 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::firstNodeVariableIndex().
|
inline |
Definition at line 348 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::firstStateVariableIndex().
|
inline |
Definition at line 453 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedEvents().
|
inline |
index | a VariableIndex |
Definition at line 393 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedFlowVariable().
|
inline |
index | a VariableIndex |
Definition at line 400 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedNextFlowVariable().
|
inline |
index | a VariableIndex |
Definition at line 344 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedNextNodeVariable().
|
inline |
index | a VariableIndex |
Definition at line 371 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedNextStateVariable().
|
inline |
Definition at line 308 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedNextVariable().
|
inline |
index | a VariableIndex |
Definition at line 338 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedNodeVariable().
|
inline |
index | a VariableIndex |
Definition at line 365 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedStateVariable().
Definition at line 455 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedTransition().
|
inline |
Definition at line 300 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getEncodedVariable().
Referenced by Diades::Altarica::NodeInstanceEncodingVariableFunctor::operator()().
|
inline |
index | a VariableIndex |
Definition at line 387 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getFlowVariable().
|
inline |
index | a VariableIndex |
Definition at line 332 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getNodeVariable().
|
inline |
index | a VariableIndex |
Definition at line 359 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getStateVariable().
|
inline |
index | Index of the sub node |
Definition at line 434 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getSubNode().
|
inline |
Definition at line 291 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::getVariable().
|
inline |
Definition at line 381 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::lastFlowVariableIndex().
|
inline |
Definition at line 325 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::lastNodeVariableIndex().
|
inline |
Definition at line 353 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::lastStateVariableIndex().
|
inline |
The model that owns this NodeInstance
Definition at line 264 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::model().
|
inline |
Name of the node instance
Definition at line 270 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::name().
|
inline |
Definition at line 234 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::nodeType().
|
inline |
Definition at line 275 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::numberOfFlowVariables().
|
inline |
Definition at line 285 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::numberOfNodeVariables().
|
inline |
Definition at line 280 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::numberOfStateVariables().
|
inline |
Definition at line 406 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::numberOfSubNodes().
|
inline |
comparison operator
nodeInstance | an NodeInstance |
Definition at line 249 of file NodeInstance.hh.
References _data.
|
inline |
assignment operator
node | a NodeInstance |
Definition at line 226 of file NodeInstance.hh.
References _data.
|
inline |
equality operator
nodeInstance | an NodeInstance |
Definition at line 257 of file NodeInstance.hh.
References _data.
|
inline |
Definition at line 417 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::subNodeFirst().
|
inline |
Definition at line 425 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::subNodeLast().
|
inline |
Definition at line 239 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::valid().
|
inline |
Definition at line 447 of file NodeInstance.hh.
References Diades::Altarica::NodeInstanceData::varFactory().
|
friend |
Output stream operator on a Node Instance
|
private |
Definition at line 203 of file NodeInstance.hh.
Referenced by operator<(), operator=(), and operator==().