45 #ifndef __GRAPH_EDGE_H__
46 #define __GRAPH_EDGE_H__
48 #include "mengeCommon.h"
112 #endif // __GRAPH_EDGE_H__
~GraphEdge()
Destructor.
Definition: GraphEdge.cpp:53
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
GraphVertex * _nbr
A pointer to the first graph vertex connected by this edge.
Definition: GraphEdge.h:109
float getDistance() const
Reports the distance between the vertices connected by this edge.
Definition: GraphEdge.h:90
void setNeighbor(GraphVertex *v)
Set's the neighboring vertex.
Definition: GraphEdge.h:75
A graph edge.
Definition: GraphEdge.h:58
float _distance
The distance between the two vertices connected by this edge.
Definition: GraphEdge.h:103
GraphEdge()
Constructor.
Definition: GraphEdge.cpp:48
A graph vertex.
Definition: GraphVertex.h:56
GraphVertex * getNeighbor() const
Returns the first attached GraphVertex.
Definition: GraphEdge.h:97
void setDistance(float d)
Sets the distance between the vertices.
Definition: GraphEdge.h:82