Classes | |
struct | LessCosts |
Provides a function to compare two ParameterPoints by costs. More... | |
Public Member Functions | |
void | AddParam (double value) |
Adds a parameter value at the end. | |
double | Costs () const |
Returns saved costs. | |
void | Costs (double costs) |
Saves a new costs value in this ParameterPoint. | |
bool | HasCosts () const |
Returns if there are costs saved in this ParameterPoints. | |
AutoParameterExplorer::ParameterPoint | Midpoint (AutoParameterExplorer::ParameterPoint &other) |
Returns a ParameterPoint which lies in the middle between this and another ParameterPoint. | |
ParameterPoint | operator+ (const Vector &vector) |
Returns a new ParameterPoint which has been shifted by the given Vector. | |
ParameterPoint () | |
Creates an empty parameter point. | |
ParameterPoint (const ParameterPoint &other) | |
Copy constructor. | |
std::vector< double > & | Params () |
Returns a reference to the parameter values vector. | |
const std::vector< double > & | Params () const |
Returns a const pointer to the parameter values. | |
Vector | VectorTo (const ParameterPoint &other) |
Generates a vector from this ParameterPoint to the other given ParameterPoint. | |
Private Attributes | |
double | m_costs |
bool | m_costsSet |
std::vector< double > | m_params |
Definition at line 33 of file AutoParameterExplorer.h.
Creates an empty parameter point.
Definition at line 246 of file AutoParameterExplorer.cpp.
face_contour_detector::AutoParameterExplorer::ParameterPoint::ParameterPoint | ( | const ParameterPoint & | other | ) |
Copy constructor.
other | the ParameterPoint which will be copied |
Definition at line 248 of file AutoParameterExplorer.cpp.
void face_contour_detector::AutoParameterExplorer::ParameterPoint::AddParam | ( | double | value | ) |
Adds a parameter value at the end.
value | the parameter value |
Definition at line 250 of file AutoParameterExplorer.cpp.
double face_contour_detector::AutoParameterExplorer::ParameterPoint::Costs | ( | ) | const [inline] |
Returns saved costs.
Definition at line 71 of file AutoParameterExplorer.h.
void face_contour_detector::AutoParameterExplorer::ParameterPoint::Costs | ( | double | costs | ) | [inline] |
Saves a new costs value in this ParameterPoint.
costs | the new costs beeing set |
Definition at line 74 of file AutoParameterExplorer.h.
bool face_contour_detector::AutoParameterExplorer::ParameterPoint::HasCosts | ( | ) | const [inline] |
Returns if there are costs saved in this ParameterPoints.
Definition at line 67 of file AutoParameterExplorer.h.
AutoParameterExplorer::ParameterPoint face_contour_detector::AutoParameterExplorer::ParameterPoint::Midpoint | ( | AutoParameterExplorer::ParameterPoint & | other | ) |
Returns a ParameterPoint which lies in the middle between this and another ParameterPoint.
other | the other point |
Definition at line 254 of file AutoParameterExplorer.cpp.
AutoParameterExplorer::ParameterPoint face_contour_detector::AutoParameterExplorer::ParameterPoint::operator+ | ( | const Vector & | vector | ) |
Returns a new ParameterPoint which has been shifted by the given Vector.
vector | the vector |
Definition at line 288 of file AutoParameterExplorer.cpp.
std::vector<double>& face_contour_detector::AutoParameterExplorer::ParameterPoint::Params | ( | ) | [inline] |
Returns a reference to the parameter values vector.
Definition at line 46 of file AutoParameterExplorer.h.
const std::vector<double>& face_contour_detector::AutoParameterExplorer::ParameterPoint::Params | ( | ) | const [inline] |
Returns a const pointer to the parameter values.
Definition at line 49 of file AutoParameterExplorer.h.
AutoParameterExplorer::Vector face_contour_detector::AutoParameterExplorer::ParameterPoint::VectorTo | ( | const ParameterPoint & | other | ) |
Generates a vector from this ParameterPoint to the other given ParameterPoint.
other | the other ParamterPoint |
Definition at line 268 of file AutoParameterExplorer.cpp.
Definition at line 84 of file AutoParameterExplorer.h.
Definition at line 83 of file AutoParameterExplorer.h.
std::vector<double> face_contour_detector::AutoParameterExplorer::ParameterPoint::m_params [private] |
Definition at line 82 of file AutoParameterExplorer.h.