summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/yap/example/autodiff_library/OPNode.h
blob: e5ed2da9ab0fce4f416b73b30caf3db9a10aa448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * OpNode.h
 *
 *  Created on: 8 Apr 2013
 *      Author: s0965328
 */

#ifndef OPNODE_H_
#define OPNODE_H_

#include "Node.h"
#include "ActNode.h"

namespace AutoDiff {

using namespace std;

class OPNode: public ActNode {
public:
	OPNode(OPCODE op,Node* left);
	virtual ~OPNode();

	TYPE getType();

	OPCODE op;
	Node* left;
	double val;



private:

};

}

#endif /* OPNODE_H_ */