GEP::dataSample< InputType, OutputType > Class Template Reference
a structure used in learning process; represents a learning sample Contains vector of input and an output - inputs are set as Chromosome inputs and the output is compared with the output of the Chromosome in the Individual. paramSample is templated over the value type and the type of structure holding additional data.
More...
#include <DataStructures.h>
List of all members.
Public Types |
| typedef InputType | InType |
| typedef OutputType | OutType |
Public Member Functions |
| | dataSample (const std::vector< InputType > &in=std::vector< InputType >(), const OutputType &out=OutputType(0)) |
Public Attributes |
| std::vector< InputType > | input |
| OutputType | output |
Detailed Description
template<class InputType, class OutputType>
class GEP::dataSample< InputType, OutputType >
a structure used in learning process; represents a learning sample Contains vector of input and an output - inputs are set as Chromosome inputs and the output is compared with the output of the Chromosome in the Individual. paramSample is templated over the value type and the type of structure holding additional data.
Member Typedef Documentation
template<class InputType , class OutputType >
template<class InputType , class OutputType >
Constructor & Destructor Documentation
template<class InputType , class OutputType >
| GEP::dataSample< InputType, OutputType >::dataSample |
( |
const std::vector< InputType > & |
in = std::vector<InputType>(), |
|
|
const OutputType & |
out = OutputType(0) | |
|
) |
| | [inline] |
Member Data Documentation
template<class InputType , class OutputType >
template<class InputType , class OutputType >
Output coupled with the inputs
The documentation for this class was generated from the following file: