1 /* 2 * EdgeSet.h 3 * 4 * Created on: 12 Nov 2013 5 * Author: s0965328 6 */ 7 8 #ifndef EDGESET_H_ 9 #define EDGESET_H_ 10 11 #include "Edge.h" 12 #include <list> 13 14 namespace AutoDiff { 15 16 class EdgeSet { 17 public: 18 EdgeSet(); 19 virtual ~EdgeSet(); 20 21 void insertEdge(Edge& e); 22 bool containsEdge(Edge& e); 23 unsigned int numSelfEdges(); 24 void clear(); 25 unsigned int size(); 26 std::string toString(); 27 28 29 std::list<Edge> edges; 30 }; 31 32 } /* namespace AutoDiff */ 33 #endif /* EDGESET_H_ */ 34