70 #include <solution/graph/graph/ArrayVertexIter.h>    96     std::vector<Vertex *> theVertices; 
   110     virtual int addEdge(
int vertexTag, 
int otherVertexTag);
   118     virtual void Print(std::ostream &s) 
const;
   119     friend std::ostream &operator<<(std::ostream &, 
const ArrayGraph &);    
   122 std::ostream &operator<<(std::ostream &, 
const ArrayGraph &);    
 Vertex of a graph. 
Definition: Vertex.h:80
Graph that uses an array to store its vertices. 
Definition: ArrayGraph.h:91
virtual VertexIter & getVertices(void)
A method which first invokes {reset()} on the graphs ArrayVertexIter and then returns a reference to ...
Definition: ArrayGraph.cpp:244
virtual ~ArrayGraph(void)
Destructor. 
Definition: ArrayGraph.cpp:94
virtual int addEdge(int vertexTag, int otherVertexTag)
Add an edge to the graph. 
Definition: ArrayGraph.cpp:226
virtual void Print(std::ostream &s) const
Print the graph. 
Definition: ArrayGraph.cpp:270
int getNumVertex(void) const
Return the number of vertices in the graph, returns numVertex. 
Definition: ArrayGraph.cpp:252
ArrayVertexIter is an iter for returning the vertices of an object of class ArrayGraph. 
Definition: ArrayVertexIter.h:78
The Graph class provides the abstraction of a graph. 
Definition: Graph.h:94
int getNumEdge(void) const
A method to return the number of edges in the graph. 
Definition: ArrayGraph.cpp:256
Open source finite element program for structural analysis. 
Definition: ContinuaReprComponent.h:35
int getArraySize(void) const
Return the size of the graphs array. 
Definition: ArrayGraph.cpp:260
virtual bool addVertex(const Vertex &vertexPtr)
Add a vertex to the graph. 
Definition: ArrayGraph.cpp:110
virtual Vertex * getVertexPtr(int vertexTag)
Return a pointer to the vertex identified by the tag. 
Definition: ArrayGraph.cpp:176
Iterator over the vertices of the graph. 
Definition: VertexIter.h:76