1 /* 2 * ActNode.h 3 * 4 * Created on: 13 Apr 2013 5 * Author: s0965328 6 */ 7 8 #ifndef ACTNODE_H_ 9 #define ACTNODE_H_ 10 11 #include "Node.h" 12 13 14 namespace AutoDiff { 15 16 class ActNode : public Node{ 17 public: 18 ActNode(); 19 virtual ~ActNode(); 20 21 void update_adj(double& v); 22 void grad_reverse_1_init_adj(); 23 24 double adj; 25 }; 26 27 } // end namespace foo 28 29 #endif /* ACTNODE_H_ */ 30