shark::ValidatedSingleObjectiveResultSet< SearchPointTypeT > Struct Template Reference

Result set for validated points. More...

#include <shark/Core/ResultSets.h>

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

Public Member Functions

 ValidatedSingleObjectiveResultSet ()
 
 ValidatedSingleObjectiveResultSet (base_type const &base)
 
 ValidatedSingleObjectiveResultSet (base_type const &base, double validation)
 
template<typename Archive >
void serialize (Archive &archive, const unsigned int)
 
- Public Member Functions inherited from shark::SingleObjectiveResultSet< SearchPointTypeT >
 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)
 

Public Attributes

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

Friends

bool operator< (ValidatedSingleObjectiveResultSet const &op1, ValidatedSingleObjectiveResultSet const &op2)
 Compares two ValidatedSingleObjectiveResultSets. Returns true if op1.validation < op2.validation. More...
 

Additional Inherited Members

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

Detailed Description

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

Result set for validated points.

If validation is applied, this error function additionally saves the value on the validation set. order between sets is by the validation error.

Definition at line 106 of file ResultSets.h.

Constructor & Destructor Documentation

◆ ValidatedSingleObjectiveResultSet() [1/3]

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

Definition at line 110 of file ResultSets.h.

◆ ValidatedSingleObjectiveResultSet() [2/3]

template<class SearchPointTypeT >
shark::ValidatedSingleObjectiveResultSet< SearchPointTypeT >::ValidatedSingleObjectiveResultSet ( base_type const &  base)
inline

Definition at line 111 of file ResultSets.h.

◆ ValidatedSingleObjectiveResultSet() [3/3]

template<class SearchPointTypeT >
shark::ValidatedSingleObjectiveResultSet< SearchPointTypeT >::ValidatedSingleObjectiveResultSet ( base_type const &  base,
double  validation 
)
inline

Definition at line 113 of file ResultSets.h.

Member Function Documentation

◆ serialize()

template<class SearchPointTypeT >
template<typename Archive >
void shark::ValidatedSingleObjectiveResultSet< SearchPointTypeT >::serialize ( Archive &  archive,
const unsigned  int 
)
inline

Definition at line 119 of file ResultSets.h.

Friends And Related Function Documentation

◆ operator<

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

Compares two ValidatedSingleObjectiveResultSets. Returns true if op1.validation < op2.validation.

Definition at line 125 of file ResultSets.h.

Member Data Documentation

◆ validation

template<class SearchPointTypeT >
base_type::ResultType shark::ValidatedSingleObjectiveResultSet< SearchPointTypeT >::validation

Definition at line 116 of file ResultSets.h.


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