19 #ifndef SIMULATOR_SRC_LIB_MODELS_SNAKE_CPGS_CPGNODE
20 #define SIMULATOR_SRC_LIB_MODELS_SNAKE_CPGS_CPGNODE
48 CPGNode(
int nodeNum,
const std::vector<double> & params);
51 void addCoupling(
CPGNode* cNode,
69 virtual void updateNodeValues (
double newR,
74 std::vector<CPGNode*> getCoupling(){
75 std::vector<CPGNode*> couplingNumbers;
76 return couplingNumbers;
80 const int getNodeIndex()
const
85 std::string toString(
const std::string& prefix =
"")
const;
97 double rDoubleDotValue;
99 std::vector<CPGNode*> couplingList;
100 std::vector<double> phaseList;
101 std::vector<double> weightList;
113 const double frequencyOffset;
114 const double frequencyScale;
116 const double radiusOffset;
117 const double radiusScale;
134 os << obj.toString() << std::endl;
138 #endif // SIMULATOR_SRC_LIB_MODELS_SNAKE_CPGS_CPGNODE
double nodeEquation(double d, double c0, double c1)
std::ostream & operator<<(std::ostream &os, const CPGNode &obj)
CPGNode(int nodeNum, const std::vector< double > ¶ms)
virtual void updateDTs(double descCom)