1 /* 2 * Edge.h 3 * 4 * Created on: 12 Nov 2013 5 * Author: s0965328 6 */ 7 8 #ifndef EDGE_H_ 9 #define EDGE_H_ 10 11 12 #include "Node.h" 13 14 namespace AutoDiff { 15 16 class Edge { 17 public: 18 Edge(Node* a, Node* b); 19 Edge(const Edge& e); 20 virtual ~Edge(); 21 22 bool isEqual(Edge*); 23 bool isEqual(Edge&); 24 std::string toString(); 25 26 Node* a; 27 Node* b; 28 29 30 }; 31 32 } /* namespace AutoDiff */ 33 #endif /* EDGE_H_ */ 34