All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Classes | Public Member Functions | Private Attributes
face_contour_detector::AutoParameterExplorer::ParameterPoint Class Reference

List of all members.

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

Detailed Description

Definition at line 33 of file AutoParameterExplorer.h.


Constructor & Destructor Documentation

Creates an empty parameter point.

Definition at line 246 of file AutoParameterExplorer.cpp.

Copy constructor.

Parameters:
otherthe ParameterPoint which will be copied

Definition at line 248 of file AutoParameterExplorer.cpp.


Member Function Documentation

Adds a parameter value at the end.

Parameters:
valuethe parameter value

Definition at line 250 of file AutoParameterExplorer.cpp.

Returns saved costs.

Precondition:
HashCosts() == true
Returns:
the costs

Definition at line 71 of file AutoParameterExplorer.h.

Saves a new costs value in this ParameterPoint.

Parameters:
coststhe new costs beeing set

Definition at line 74 of file AutoParameterExplorer.h.

Returns if there are costs saved in this ParameterPoints.

Returns:
true if there is a cost value saved

Definition at line 67 of file AutoParameterExplorer.h.

Returns a ParameterPoint which lies in the middle between this and another ParameterPoint.

Parameters:
otherthe other point
Returns:
the midpoint betweent this and 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.

Parameters:
vectorthe vector
Returns:
result

Definition at line 288 of file AutoParameterExplorer.cpp.

Returns a reference to the parameter values vector.

Returns:
reference to the parameter values

Definition at line 46 of file AutoParameterExplorer.h.

Returns a const pointer to the parameter values.

Returns:
a const pointer to the parameter values

Definition at line 49 of file AutoParameterExplorer.h.

Generates a vector from this ParameterPoint to the other given ParameterPoint.

Parameters:
otherthe other ParamterPoint
Returns:
the vector which points from this ParameterPoint to the other given one

Definition at line 268 of file AutoParameterExplorer.cpp.


Member Data Documentation

Definition at line 84 of file AutoParameterExplorer.h.

Definition at line 83 of file AutoParameterExplorer.h.

Definition at line 82 of file AutoParameterExplorer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


face_contour_detector
Author(s): Fabian Wenzelmann and Julian Schmid
autogenerated on Wed Dec 26 2012 16:18:17