shark::SingleObjectiveResultSet< SearchPointTypeT > Struct Template Reference

Result set for single objective algorithm. More...

#include <shark/Core/ResultSets.h>

+ Inheritance diagram for shark::SingleObjectiveResultSet< SearchPointTypeT >:

Public Types

typedef SearchPointTypeT SearchPointType
 
typedef double ResultType
 
- Public Types inherited from shark::ResultSet< SearchPointTypeT, double >
typedef SearchPointTypeT SearchPointType
 
typedef double ResultType
 

Public Member Functions

 SingleObjectiveResultSet ()
 
 SingleObjectiveResultSet (double value, SearchPointType const &point)
 
- Public Member Functions inherited from shark::ResultSet< SearchPointTypeT, double >
 ResultSet ()
 
 ResultSet (ResultType const &value, SearchPointType const &point)
 
void serialize (Archive &archive, const unsigned int)
 

Friends

bool operator< (SingleObjectiveResultSet const &op1, SingleObjectiveResultSet const &op2)
 Compares two SingleObjectiveResultSets. Returns true if op1.value < op2.value. More...
 

Additional Inherited Members

- Public Attributes inherited from shark::ResultSet< SearchPointTypeT, double >
SearchPointType point
 
ResultType value
 

Detailed Description

template<class SearchPointTypeT>
struct shark::SingleObjectiveResultSet< SearchPointTypeT >

Result set for single objective algorithm.

Contains a point of the search space as well its value on the objective function.

Definition at line 84 of file ResultSets.h.

Member Typedef Documentation

◆ ResultType

template<class SearchPointTypeT >
typedef double shark::SingleObjectiveResultSet< SearchPointTypeT >::ResultType

Definition at line 86 of file ResultSets.h.

◆ SearchPointType

template<class SearchPointTypeT >
typedef SearchPointTypeT shark::SingleObjectiveResultSet< SearchPointTypeT >::SearchPointType

Definition at line 85 of file ResultSets.h.

Constructor & Destructor Documentation

◆ SingleObjectiveResultSet() [1/2]

template<class SearchPointTypeT >
shark::SingleObjectiveResultSet< SearchPointTypeT >::SingleObjectiveResultSet ( )
inline

Definition at line 88 of file ResultSets.h.

◆ SingleObjectiveResultSet() [2/2]

template<class SearchPointTypeT >
shark::SingleObjectiveResultSet< SearchPointTypeT >::SingleObjectiveResultSet ( double  value,
SearchPointType const &  point 
)
inline

Definition at line 89 of file ResultSets.h.

Friends And Related Function Documentation

◆ operator<

template<class SearchPointTypeT >
bool operator< ( SingleObjectiveResultSet< SearchPointTypeT > const &  op1,
SingleObjectiveResultSet< SearchPointTypeT > const &  op2 
)
friend

Compares two SingleObjectiveResultSets. Returns true if op1.value < op2.value.

Definition at line 93 of file ResultSets.h.


The documentation for this struct was generated from the following file: