adevs
Public Member Functions | List of all members
adevs::LpGraph Class Reference

#include <adevs_lp_graph.h>

Public Member Functions

 LpGraph ()
 Create a graph without any edges.
 
void addEdge (int A, int B)
 Create an edge from node A to node B.
 
int getLPCount () const
 Get the number of LPs.
 
const std::vector< int > & getI (int B)
 Get the influencers of node B.
 
const std::vector< int > & getE (int A)
 Get the influencees of node A.
 
 ~LpGraph ()
 Destructor.
 

Detailed Description

This is a graph for describing how processors in a parallel simulation are connected to each other. There should be a directed edge from processor A to processor B if a model assigned to A sends output to a model assigned to B.


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