]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/yap/example/autodiff_library/Edge.h
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / yap / example / autodiff_library / Edge.h
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_ */