12 typedef typename std::vector<double>::iterator
iterator;
33 m_input = std::move (other.m_input);
34 m_output = std::move (other.m_output);
46 template <
typename ItValue>
47 Pattern (ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd,
double _weight = 1.0)
48 :
m_input (inputBegin, inputEnd)
54 template <
typename ItValue>
55 Pattern (ItValue inputBegin, ItValue inputEnd,
double outputValue,
double _weight = 1.0)
56 :
m_input (inputBegin, inputEnd)
62 template <
typename InputContainer,
typename OutputContainer>
63 Pattern (InputContainer& _input, OutputContainer& _output,
double _weight = 1.0)
64 :
m_input (std::begin (_input), std::end (_input))
65 ,
m_output (std::begin (_output), std::end (_output))
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)