First stab at the calculate_strength() function - all it nets us is a floating point exception when compiling with -DDEBUG
This commit is contained in:
2
graph.h
2
graph.h
@ -48,6 +48,8 @@ class Graph
|
||||
|
||||
list<Vertex*> get_vertices() const { return vertices; }
|
||||
list<Edge> get_edges() const { return edges; }
|
||||
list<Vertex*> get_colour(int colour);
|
||||
list<Edge> get_vertex_edges(Vertex* v);
|
||||
|
||||
bool point_in_vertex(int x, int y, int size);
|
||||
Vertex * vertex_at(int x, int y);
|
||||
|
Reference in New Issue
Block a user