SELiquidCompartmentGraph Class Reference

#include <SELiquidCompartmentGraph.h>

Inherits SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >.

Public Member Functions

virtual ~SELiquidCompartmentGraph ()
 
void AddGraph (SELiquidCompartmentGraph &graph)
 
- Public Member Functions inherited from SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >
 SECompartmentTransportGraph (const std::string &name, Logger *logger)
 
virtual ~SECompartmentTransportGraph ()
 
void Clear () override
 
std::string GetName () const override
 
virtual void StateChange ()
 
- Public Member Functions inherited from SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >
virtual ~SECompartmentGraph ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual void AddCompartment (CompartmentType &cmpt)
 
virtual void ForceAddCompartment (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 void ForceAddLink (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 (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Protected Member Functions

 SELiquidCompartmentGraph (const std::string &name, Logger *logger)
 
void BalanceByIntensive () override
 
- Protected Member Functions inherited from SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >
void BalanceByIntensive () override=0
 
int GetVertexIndex (const GraphVertexType &v) const override
 
const std::vector< GraphVertexType * > & GetVerticies () const override
 
const std::vector< GraphEdgeType * > * GetSourceEdges (const GraphVertexType &v) const override
 
const std::vector< GraphEdgeType * > * GetTargetEdges (const GraphVertexType &v) const override
 
- Protected Member Functions inherited from SECompartmentGraph< COMPARTMENT_GRAPH_TYPES >
 SECompartmentGraph (const std::string &name, Logger *logger)
 

Friends

class PBCompartment
 
class SECompartmentManager
 

Additional Inherited Members

- Protected Attributes inherited from SECompartmentTransportGraph< SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink >
std::vector< GraphVertexType * > m_Verticies
 
std::map< const GraphVertexType *, int > 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
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SELiquidCompartmentGraph()

SELiquidCompartmentGraph::SELiquidCompartmentGraph ( const std::string &  name,
Logger logger 
)
inlineprotected

◆ ~SELiquidCompartmentGraph()

virtual SELiquidCompartmentGraph::~SELiquidCompartmentGraph ( )
inlinevirtual

Member Function Documentation

◆ AddGraph()

void SELiquidCompartmentGraph::AddGraph ( SELiquidCompartmentGraph graph)

◆ BalanceByIntensive()

Friends And Related Function Documentation

◆ PBCompartment

friend class PBCompartment
friend

◆ SECompartmentManager

friend class SECompartmentManager
friend

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.