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_iterator endInput() const
const std::vector< double > & output() const
Pattern(InputContainer &_input, OutputContainer &_output, double _weight=1.0)
std::vector< double > m_output
Pattern & operator=(const Pattern &other)
const_iterator beginOutput() const
Pattern(ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd, double _weight=1.0)
void addOutput(double value)
const std::vector< double > & input() const
size_t outputSize() const
Pattern(const Pattern &other)
void addInput(double value)
std::vector< double >::iterator iterator
const_iterator beginInput() const
std::vector< double >::const_iterator const_iterator
std::vector< double > & input()
std::vector< double > m_input
const_iterator endOutput() const
std::vector< double > & output()
Pattern(ItValue inputBegin, ItValue inputEnd, double outputValue, double _weight=1.0)