|
MicroModelicaCCompiler
4.5.3
|
#include <graph.hpp>

Public Member Functions | |
| Graph (int states, int events) | |
| ~Graph () | |
| map< int, set< int > > | graph () |
| map< int, set< int > > | hyperGraph () |
| void | addGraphEdge (int orig, int dest) |
| void | addHyperGraphEdge (int orig, int dest) |
| int | graphEdgeWeight (int node, int inf) |
| int | hyperGraphEdgeWeight (int node) |
| void | connectGraphs () |
| int | graphEdges () |
| int | graphNodeEdges (int node) |
| bool | empty () |
| int | hyperGraphEdges () |
| int | nodeWeight (int node) |
| void | addNodeWeight (int node, int weight) |
Private Member Functions | |
| int | edgeWeight (int node) |
Private Attributes | |
| int | _states |
| int | _events |
| int | _nvtxs |
| int | _graphEdges |
| map< int, set< int > > | _graph |
| map< int, set< int > > | _graphInputs |
| map< int, int > | _graphDiscretes |
| map< int, set< int > > | _hyperGraph |
| map< int, set< int > > | _wmap |
| map< int, set< int > > | _hwmap |
| GRP_graphProfile | _profile |
| Graph::Graph | ( | int | states, |
| int | events | ||
| ) |
| states | |
| events |
Definition at line 24 of file graph.cpp.
References _profile, and GRP_GraphProfile().

| void Graph::addGraphEdge | ( | int | orig, |
| int | dest | ||
| ) |
| void Graph::addHyperGraphEdge | ( | int | orig, |
| int | dest | ||
| ) |
| void Graph::addNodeWeight | ( | int | node, |
| int | weight | ||
| ) |
Definition at line 123 of file graph.cpp.
References _graphDiscretes, and _states.
| void Graph::connectGraphs | ( | ) |
Definition at line 93 of file graph.cpp.
References _events, _graph, _graphEdges, _hwmap, _hyperGraph, _states, and _wmap.
|
private |
Definition at line 53 of file graph.cpp.
References _profile, _states, GRP_CONT, GRP_DSC, and GRP_Weight().
Referenced by graphEdgeWeight(), and hyperGraphEdgeWeight().

| map< int, set< int > > Graph::graph | ( | ) |
| int Graph::graphEdges | ( | ) |
| int Graph::graphEdgeWeight | ( | int | node, |
| int | inf | ||
| ) |
| node | |
| edge |
Definition at line 64 of file graph.cpp.
References _profile, _wmap, edgeWeight(), GRP_VIRT, and GRP_Weight().

| int Graph::graphNodeEdges | ( | int | node | ) |
| map< int, set< int > > Graph::hyperGraph | ( | ) |
| int Graph::hyperGraphEdges | ( | ) |
| int Graph::hyperGraphEdgeWeight | ( | int | node | ) |
| node | |
| edge |
Definition at line 77 of file graph.cpp.
References _hwmap, _hyperGraph, _profile, edgeWeight(), GRP_VIRT, and GRP_Weight().

| int Graph::nodeWeight | ( | int | node | ) |
Definition at line 121 of file graph.cpp.
References _graphDiscretes, and _graphInputs.
|
private |
Definition at line 115 of file graph.hpp.
Referenced by connectGraphs().
|
private |
Definition at line 118 of file graph.hpp.
Referenced by addGraphEdge(), connectGraphs(), empty(), graph(), and graphNodeEdges().
|
private |
Definition at line 120 of file graph.hpp.
Referenced by addNodeWeight(), and nodeWeight().
|
private |
Definition at line 117 of file graph.hpp.
Referenced by connectGraphs(), and graphEdges().
|
private |
Definition at line 119 of file graph.hpp.
Referenced by addGraphEdge(), and nodeWeight().
|
private |
Definition at line 123 of file graph.hpp.
Referenced by connectGraphs(), and hyperGraphEdgeWeight().
|
private |
Definition at line 121 of file graph.hpp.
Referenced by addHyperGraphEdge(), connectGraphs(), hyperGraph(), hyperGraphEdges(), and hyperGraphEdgeWeight().
|
private |
Definition at line 124 of file graph.hpp.
Referenced by edgeWeight(), Graph(), graphEdgeWeight(), and hyperGraphEdgeWeight().
|
private |
Definition at line 114 of file graph.hpp.
Referenced by addNodeWeight(), connectGraphs(), and edgeWeight().
|
private |
Definition at line 122 of file graph.hpp.
Referenced by connectGraphs(), and graphEdgeWeight().