30 CPGEdge::CPGEdge(
CPGNode* newTarget,
33 targetNode(newTarget),
46 currentNode.phiDotValue += weight * targetNode->rValue * sin (targetNode->phiValue - currentNode.phiValue - phaseOffset);
49 std::string CPGEdge::toString(
const std::string& prefix)
const
52 std::ostringstream os;
53 os << prefix <<
"CPGEdge(";
57 os << prefix << p <<
"Conected to:";
58 os << prefix << p << p << targetNode->getNodeIndex();
virtual void couple(CPGNode ¤tNode)
Definition of class CPGEdge.
Definition of class CPGNode.