OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GraphNode Class Reference

#include "GraphNode.h"

Public Member Functions

 GraphNode (int nodeID)
 
virtual ~GraphNode ()
 
const int getNodeID () const
 
void addSucceedingNode (const std::shared_ptr< GraphNode > node, EdgeInfo edgeInfo)
 
void addPreviousNode (const std::shared_ptr< GraphNode > node)
 
int getRankIncomming () const
 
int getRankOutgoing () const
 
const std::list< std::shared_ptr< GraphNode > > & getSucceedingNodes () const
 
const std::list< std::pair< std::shared_ptr< GraphNode >, EdgeInfo > > & getSucceedingNodesWithEdgeInfo () const
 
const std::list< std::shared_ptr< GraphNode > > & getPreviousNodes () const
 

Constructor & Destructor Documentation

◆ GraphNode()

GraphNode::GraphNode ( int nodeID)

◆ ~GraphNode()

virtual GraphNode::~GraphNode ( )
inlinevirtual

Member Function Documentation

◆ addPreviousNode()

void GraphNode::addPreviousNode ( const std::shared_ptr< GraphNode > node)

◆ addSucceedingNode()

void GraphNode::addSucceedingNode ( const std::shared_ptr< GraphNode > node,
EdgeInfo edgeInfo )

◆ getNodeID()

const int GraphNode::getNodeID ( ) const
inline

◆ getPreviousNodes()

const std::list< std::shared_ptr< GraphNode > > & GraphNode::getPreviousNodes ( ) const

◆ getRankIncomming()

int GraphNode::getRankIncomming ( ) const

◆ getRankOutgoing()

int GraphNode::getRankOutgoing ( ) const

◆ getSucceedingNodes()

const std::list< std::shared_ptr< GraphNode > > & GraphNode::getSucceedingNodes ( ) const

◆ getSucceedingNodesWithEdgeInfo()

const std::list< std::pair< std::shared_ptr< GraphNode >, EdgeInfo > > & GraphNode::getSucceedingNodesWithEdgeInfo ( ) const

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