GlobeEngine
geGraph::WeightedUndirectedEdge< T > Class Template Reference

#include <WeightedUndirectedEdge.h>

Inheritance diagram for geGraph::WeightedUndirectedEdge< T >:
geGraph::UndirectedEdge< T > geGraph::WeightedUndirectedPolylineEdge< T >

Public Member Functions

 WeightedUndirectedEdge ()
 
 WeightedUndirectedEdge (T _node1, T _node2)
 
 WeightedUndirectedEdge (T _uid, T _node1, T _node2)
 
 WeightedUndirectedEdge (T _uid, T _node1, T _node2, float _weight)
 
void setWeight (float _input)
 
void addWeight (float _input)
 
float getWeight ()
 
- Public Member Functions inherited from geGraph::UndirectedEdge< T >
 UndirectedEdge ()
 
 UndirectedEdge (T _node1, T _node2)
 
 UndirectedEdge (T _uid, T _node1, T _node2)
 
void create (T _uid, T _node1, T _node2)
 
void setNodes (T _node1, T _node2)
 
const T * getNodes () const
 
getOppositeNode (T _nodeID) const
 
bool isIDaNeighborNode (T _nodeID)
 
void mark ()
 
void unmark ()
 
bool isMarked ()
 

Protected Attributes

float weight
 
- Protected Attributes inherited from geGraph::UndirectedEdge< T >
bool marked
 
uid
 
nodes [2]
 

Constructor & Destructor Documentation

template<class T >
geGraph::WeightedUndirectedEdge< T >::WeightedUndirectedEdge ( )
inline
template<class T >
geGraph::WeightedUndirectedEdge< T >::WeightedUndirectedEdge ( _node1,
_node2 
)
inline
template<class T >
geGraph::WeightedUndirectedEdge< T >::WeightedUndirectedEdge ( _uid,
_node1,
_node2 
)
inline
template<class T >
geGraph::WeightedUndirectedEdge< T >::WeightedUndirectedEdge ( _uid,
_node1,
_node2,
float  _weight 
)
inline

Member Function Documentation

template<class T >
void geGraph::WeightedUndirectedEdge< T >::addWeight ( float  _input)
inline
template<class T >
float geGraph::WeightedUndirectedEdge< T >::getWeight ( )
inline
template<class T >
void geGraph::WeightedUndirectedEdge< T >::setWeight ( float  _input)
inline

Member Data Documentation

template<class T >
float geGraph::WeightedUndirectedEdge< T >::weight
protected

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