11 typedef typename std::vector<double>::iterator
iterator;
33 m_input = std::move (other.m_input);
34 m_output = std::move (other.m_output);
48 template <
typename ItValue>
49 Pattern (ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd,
double _weight = 1.0)
50 :
m_input (inputBegin, inputEnd)
56 template <
typename ItValue>
57 Pattern (ItValue inputBegin, ItValue inputEnd,
double outputValue,
double _weight = 1.0)
58 :
m_input (inputBegin, inputEnd)
66 template <
typename InputContainer,
typename OutputContainer>
67 Pattern (InputContainer& _input, OutputContainer& _output,
double _weight = 1.0)
const std::vector< double > & output() const
const_iterator endInput() const
std::vector< double >::iterator iterator
Pattern(ItValue inputBegin, ItValue inputEnd, double outputValue, double _weight=1.0)
std::vector< double > & output()
const_iterator endOutput() const
Pattern(const Pattern &other)
Pattern(ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd, double _weight=1.0)
const_iterator beginOutput() const
std::vector< double >::const_iterator const_iterator
Pattern(InputContainer &_input, OutputContainer &_output, double _weight=1.0)
std::vector< double > m_input
Pattern & operator=(const Pattern &other)
std::vector< double > m_output
std::vector< double > & input()
size_t outputSize() const
void addInput(double value)
const_iterator beginInput() const
void addOutput(double value)
const std::vector< double > & input() const