GlobeEngine
geGraph::ReducableWeightedUndirectedGraph< NODETYPE, EDGETYPE, U > Class Template Reference

#include <ReducableUndirectedGraph.h>

Inheritance diagram for geGraph::ReducableWeightedUndirectedGraph< NODETYPE, EDGETYPE, U >:
geGraph::ReducableUndirectedGraph< NODETYPE, EDGETYPE, U > geGraph::UndirectedGraph< NODETYPE, EDGETYPE, U > geGraph::Graph< NODETYPE, EDGETYPE, U >

Public Member Functions

 ReducableWeightedUndirectedGraph ()
 
void setReducedEdgeWheight (unsigned int _redEdgeID, float _weight)
 
void setReducedEdgeWheightByID (unsigned int _nodeID, float _weight)
 
- Public Member Functions inherited from geGraph::ReducableUndirectedGraph< NODETYPE, EDGETYPE, U >
 ReducableUndirectedGraph ()
 
void reduceEdges ()
 
void reduceFromEndpoint (unsigned int _nodeID)
 
void reduceFromCrossing (unsigned int _nodeID)
 
std::vector< U > getEdgesForReducedEdge (unsigned int _redEdgeID)
 
std::vector< U > getReducedEdgesForNodeID (unsigned int _nodeID)
 
std::vector< U > getReducedNodesForNodeID (unsigned int _startNodeID, unsigned int _endNodeID)
 
std::vector< U > getReducedNodeIDsForReducedEdge (unsigned int _redEdgeID)
 
EDGETYPE * getReducedEdge (unsigned int _redEdgeID)
 
unsigned int getReducedEdgesCount ()
 
- Public Member Functions inherited from geGraph::UndirectedGraph< NODETYPE, EDGETYPE, U >
 UndirectedGraph ()
 
unsigned int addUndirectedEdge (unsigned int _nodeIdx1, unsigned int _nodeIdx2)
 
unsigned int addWeightedUndirectedEdge (unsigned int _nodeIdx1, unsigned int _nodeIdx2, float _weight)
 
getEdgeByNodeIDs (unsigned int _nodeIdx1, unsigned int _nodeIdx2)
 
- Public Member Functions inherited from geGraph::Graph< NODETYPE, EDGETYPE, U >
 Graph ()
 
 ~Graph ()
 
void clearProperties ()
 
unsigned int addNode (NODETYPE _node)
 
const std::map< U, NODETYPE > getMapToIterate () const
 
getNodeCount () const
 
getNodeIDByContent (const NODETYPE _content) const
 
NODETYPE getNodeContentByID (U _id) const
 
std::vector< GraphNode< U > > getGraphNodes ()
 
std::vector< U > getEndnodeIDs ()
 
std::vector< U > getCrossingIDs ()
 
void updateGraphProperties ()
 
unsigned int getNumberOfEndpoints () const
 
unsigned int getNumberOfCrossings () const
 
getEndPointID (unsigned int _idx)
 
getCrossingID (unsigned int _idx)
 
getEdgeCount ()
 
EDGETYPE * getEdge (unsigned int _idx)
 
GraphNode< U > getNode (unsigned int _idx)
 

Additional Inherited Members

- Protected Attributes inherited from geGraph::Graph< NODETYPE, EDGETYPE, U >
std::map< NODETYPE, U > nodeByContent
 
std::map< U, NODETYPE > nodeByID
 
std::vector< GraphNode< U > > nodes
 
std::vector< EDGETYPE > edges
 
std::map< std::pair< U, U >, U > forwardEdges
 
std::map< std::pair< U, U >, U > backwardEdges
 
std::vector< U > endPoints
 
std::vector< U > crossings
 
unsigned int numberOfConnectors
 
unsigned int numberOfAbandonedNodes
 

Constructor & Destructor Documentation

template<class NODETYPE , class EDGETYPE , class U >
geGraph::ReducableWeightedUndirectedGraph< NODETYPE, EDGETYPE, U >::ReducableWeightedUndirectedGraph ( )
inline

Member Function Documentation

template<class NODETYPE , class EDGETYPE , class U >
void geGraph::ReducableWeightedUndirectedGraph< NODETYPE, EDGETYPE, U >::setReducedEdgeWheight ( unsigned int  _redEdgeID,
float  _weight 
)
inline
template<class NODETYPE , class EDGETYPE , class U >
void geGraph::ReducableWeightedUndirectedGraph< NODETYPE, EDGETYPE, U >::setReducedEdgeWheightByID ( unsigned int  _nodeID,
float  _weight 
)
inline

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