예제 #1
0
 void SparseOptimizer::setToOrigin(){
   for (VertexIDMap::iterator it=vertices().begin(); it!=vertices().end(); ++it) {
     OptimizableGraph::Vertex* v = static_cast<OptimizableGraph::Vertex*>(it->second);
     v->setToOrigin();
   }
 }