11 typedef typename std::vector<double>::iterator
iterator;
32 m_input = std::move (other.m_input);
33 m_output = std::move (other.m_output);
45 template <
typename ItValue>
46 Pattern (ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd,
double _weight = 1.0)
47 :
m_input (inputBegin, inputEnd)
53 template <
typename ItValue>
54 Pattern (ItValue inputBegin, ItValue inputEnd,
double outputValue,
double _weight = 1.0)
55 :
m_input (inputBegin, inputEnd)
61 template <
typename InputContainer,
typename OutputContainer>
62 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