|
|
@ -2,6 +2,7 @@
|
|
|
|
#define GRAPH_H
|
|
|
|
#define GRAPH_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <algorithm>
|
|
|
|
#include <algorithm>
|
|
|
|
#include <iterator>
|
|
|
|
#include <iterator>
|
|
|
|
|
|
|
|
|
|
|
@ -43,7 +44,7 @@ private:
|
|
|
|
void removeAllEdgesTo(const_reference destination);
|
|
|
|
void removeAllEdgesTo(const_reference destination);
|
|
|
|
|
|
|
|
|
|
|
|
pointer m_data;
|
|
|
|
pointer m_data;
|
|
|
|
std::vector<Edge> m_edges;
|
|
|
|
std::list<Edge> m_edges;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|