Skip to content
Snippets Groups Projects
Commit 4f6977c0 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Move belongs to anonymous namespace

parent 616f8bdf
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,15 @@ namespace hpp {
HPP_DEFINE_TIMECOUNTER(buildPath);
HPP_DEFINE_TIMECOUNTER(projectPath);
HPP_DEFINE_TIMECOUNTER(validatePath);
bool belongs (const ConfigurationPtr_t& q, const core::Nodes_t& nodes)
{
for (core::Nodes_t::const_iterator itNode = nodes.begin ();
itNode != nodes.end (); ++itNode) {
if (*((*itNode)->configuration ()) == *q) return true;
}
return false;
}
}
const std::vector<ManipulationPlanner::Reason>
......@@ -86,15 +95,6 @@ namespace hpp {
return shPtr;
}
bool belongs (const ConfigurationPtr_t& q, const core::Nodes_t& nodes)
{
for (core::Nodes_t::const_iterator itNode = nodes.begin ();
itNode != nodes.end (); ++itNode) {
if (*((*itNode)->configuration ()) == *q) return true;
}
return false;
}
ManipulationPlanner::ErrorFreqs_t ManipulationPlanner::getEdgeStat
(const graph::EdgePtr_t& edge) const
{
......@@ -172,10 +172,7 @@ namespace hpp {
delayedEdges.push_back (DelayedEdge_t (near, q_new, path));
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment