SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE > Class Template Referenceabstract

#include <SECompartmentTransportGraph.h>

Inherits GraphType, and SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >.

Public Member Functions

 SECompartmentTransportGraph (const std::string &name, Logger *logger)
 
virtual ~SECompartmentTransportGraph ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual void StateChange ()
 
- Public Member Functions inherited from SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >
virtual ~SECompartmentGraph ()
 
virtual void AddCompartment (CompartmentType &cmpt)
 
virtual CompartmentType * GetCompartment (const std::string &name)
 
virtual const CompartmentType * GetCompartment (const std::string &name) const
 
virtual const std::vector< CompartmentType *> & GetCompartments () const
 
virtual void RemoveCompartment (const CompartmentType &cmpt)
 
virtual void RemoveCompartment (const std::string &name)
 
virtual void AddLink (CompartmentLinkType &link)
 
virtual CompartmentLinkType * GetLink (const std::string &name)
 
virtual const CompartmentLinkType * GetLink (const std::string &name) const
 
virtual const std::vector< CompartmentLinkType *> & GetLinks () const
 
virtual void RemoveLink (const CompartmentLinkType &link)
 
virtual void RemoveLink (const std::string &name)
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Member Functions

virtual void BalanceByIntensive ()=0
 
virtual size_t GetVertexIndex (const GraphVertexType &v) const
 
virtual const std::vector< GraphVertexType * > & GetVerticies () const
 
virtual const std::vector< GraphEdgeType * > * GetSourceEdges (const GraphVertexType &v) const
 
virtual const std::vector< GraphEdgeType * > * GetTargetEdges (const GraphVertexType &v) const
 
- Protected Member Functions inherited from SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >
 SECompartmentGraph (const std::string &name, Logger *logger)
 

Protected Attributes

std::vector< GraphVertexType * > m_Verticies
 
std::map< const GraphVertexType *, size_t > m_VertexIndicies
 
std::map< const GraphVertexType *, std::vector< GraphEdgeType * > * > m_SourceEdgeMap
 
std::map< const GraphVertexType *, std::vector< GraphEdgeType * > * > m_TargetEdgeMap
 
- Protected Attributes inherited from SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >
std::string m_Name
 
std::vector< CompartmentType *> m_Compartments
 
std::vector< CompartmentLinkType *> m_CompartmentLinks
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SECompartmentTransportGraph()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::SECompartmentTransportGraph ( const std::string &  name,
Logger logger 
)

◆ ~SECompartmentTransportGraph()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::~SECompartmentTransportGraph ( )
virtual

Member Function Documentation

◆ BalanceByIntensive()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual void SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::BalanceByIntensive ( )
protectedpure virtual

◆ Clear()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual void SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::Clear ( )
virtual

◆ GetName()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual std::string SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::GetName ( ) const
inlinevirtual

◆ GetSourceEdges()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual const std::vector<GraphEdgeType*>* SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::GetSourceEdges ( const GraphVertexType &  v) const
protectedvirtual

◆ GetTargetEdges()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual const std::vector<GraphEdgeType*>* SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::GetTargetEdges ( const GraphVertexType &  v) const
protectedvirtual

◆ GetVertexIndex()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual size_t SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::GetVertexIndex ( const GraphVertexType &  v) const
protectedvirtual

◆ GetVerticies()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual const std::vector<GraphVertexType*>& SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::GetVerticies ( ) const
protectedvirtual

◆ StateChange()

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
virtual void SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::StateChange ( )
virtual

Member Data Documentation

◆ m_SourceEdgeMap

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
std::map<const GraphVertexType*, std::vector<GraphEdgeType*>*> SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::m_SourceEdgeMap
protected

◆ m_TargetEdgeMap

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
std::map<const GraphVertexType*, std::vector<GraphEdgeType*>*> SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::m_TargetEdgeMap
protected

◆ m_VertexIndicies

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
std::map<const GraphVertexType*, size_t> SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::m_VertexIndicies
protected

◆ m_Verticies

template<COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >
std::vector<GraphVertexType*> SECompartmentTransportGraph< COMPARTMENT_TRANSPORT_GRAPH_TEMPLATE >::m_Verticies
protected