Commit cb6df3cf authored by David Flavigne's avatar David Flavigne
Browse files

Added access function to problems in the problem vector

parent 0ff6fabe
2008/04/14
36. Added access function to problems in the problem vector
2008/03/05
35. In ChppPlanner::solveOneProblem, try direct path before roadmap builder.
......
......@@ -85,6 +85,13 @@ class ChppPlanner {
*/
ktStatus removeHppProblemAtBeginning();
/**
\brief Retrieve the problem in the problem vector at the given rank.
\param i_rank Rank of the hppProblem to retrieve
\return The i_rank-th problem
*/
ChppProblem * hppProblem(int i_rank){ if(i_rank<getNbHppProblems()) return &(hppProblemVector.at(i_rank)); else return NULL;}
/**
\brief Get the number of problems in vector.
\return the number of problems in the vector
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment