12345678910111213141516171819202122232425262728293031323334353637 |
- /*
- * 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_ */
|