Lines Matching defs:vs
2179 Variables vs;
2224 vs.push_back(currSegment->variable);
2225 size_t index = vs.size() - 1;
2246 cs.push_back(new Constraint(prevVar, vs[index],
2262 vs.push_back(new Variable(fixedID,
2264 cs.push_back(new Constraint(vs[vs.size() - 1], vs[index],
2272 vs.push_back(new Variable(fixedID,
2274 cs.push_back(new Constraint(vs[index], vs[vs.size() - 1],
2281 for(unsigned i=0;i<vs.size();i++) {
2282 printf("-vs[%d]=%f\n",i,vs[i]->desiredPosition);
2285 IncSolver f(vs,cs);
2288 for (size_t i = 0; i < vs.size(); ++i)
2290 if (vs[i]->id == fixedID)
2292 if (fabs(vs[i]->finalPosition - vs[i]->desiredPosition) > 0.01)
2313 for(unsigned i=0;i<vs.size();i++) {
2314 printf("+vs[%d]=%f\n",i,vs[i]->finalPosition);
2317 for_each(vs.begin(),vs.end(),delete_object());