MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / Graph

Method Graph

SRC/graph/graph/Graph.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#include <Vector.h>
43
44Graph::Graph()
45 :myVertices(0), theVertexIter(0), numEdge(0), nextFreeTag(START_VERTEX_NUM),
46 vertices()
47{
48 myVertices = new MapOfTaggedObjects();
49 theVertexIter = new VertexIter(myVertices);
50}
51
52
53Graph::Graph(int numVertices)

Callers

nothing calls this directly

Calls 6

addVertexMethod · 0.95
addEdgeMethod · 0.95
getTagMethod · 0.45
clearAllMethod · 0.45
getRefMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected