5#ifndef ANOTHERGRAPH_GRAPH_H
6#define ANOTHERGRAPH_GRAPH_H
19 typedef std::pair<double, std::vector<Node<V>*>>
pair;
26 std::vector<std::vector<double>>
matrix;
std::pair< double, std::vector< Node< V > * > > pair
std::vector< std::vector< double > > matrix
void removeNode(size_t index)
void addConnection(Node< V > *one, Node< V > *two, double weight)
std::vector< std::vector< double > > getAdjacencyList()
std::vector< Node< V > * > getAdj(Node< V > *next)
void addNode(Node< V > *newNode)
std::vector< Node< V > * > nodes
std::vector< Node< V > * > Dijkstra(Node< V > *from, Node< V > *find)
int numVisited(std::vector< bool > listOfBools)
std::map< Node< V > *, unsigned int > nodeMap
std::vector< Node< V > * > getNodes()
bool contains(Node< V > *node, std::vector< Node< V > * > listOfNodes)
bool operator()(const pair &first, const pair &second)