SECompartmentTransportGraph.h
7#define COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE typename GraphType, typename GraphVertexType, typename GraphEdgeType, typename CompartmentType, typename CompartmentLinkType
8#define COMPARTMENT_TRANSPORT_GRAPH_TYPES GraphType, GraphVertexType, GraphEdgeType, CompartmentType, CompartmentLinkType
11class SECompartmentTransportGraph : public GraphType, public SECompartmentGraph<COMPARTMENT_GRAPH_TYPES>
Definition: Logger.h:71
Definition: SECompartmentGraph.h:11
std::string m_Name
Definition: SECompartmentGraph.h:39
Definition: SECompartmentTransportGraph.h:12
std::map< const GraphVertexType *, int > m_VertexIndicies
Definition: SECompartmentTransportGraph.h:31
void Clear() override
Definition: SECompartmentTransportGraph.cpp:19
std::map< const GraphVertexType *, std::vector< GraphEdgeType * > * > m_SourceEdgeMap
Definition: SECompartmentTransportGraph.h:32
std::vector< GraphVertexType * > m_Verticies
Definition: SECompartmentTransportGraph.h:30
const std::vector< GraphEdgeType * > * GetTargetEdges(const GraphVertexType &v) const override
Definition: SECompartmentTransportGraph.cpp:99
SECompartmentTransportGraph(const std::string &name, Logger *logger)
Definition: SECompartmentTransportGraph.cpp:8
std::string GetName() const override
Definition: SECompartmentTransportGraph.h:19
void BalanceByIntensive() override=0
std::map< const GraphVertexType *, std::vector< GraphEdgeType * > * > m_TargetEdgeMap
Definition: SECompartmentTransportGraph.h:33
int GetVertexIndex(const GraphVertexType &v) const override
Definition: SECompartmentTransportGraph.cpp:75
const std::vector< GraphEdgeType * > * GetSourceEdges(const GraphVertexType &v) const override
Definition: SECompartmentTransportGraph.cpp:91
virtual ~SECompartmentTransportGraph()
Definition: SECompartmentTransportGraph.cpp:13
virtual void StateChange()
Definition: SECompartmentTransportGraph.cpp:33
const std::vector< GraphVertexType * > & GetVerticies() const override
Definition: SECompartmentTransportGraph.cpp:86