Logo ROOT   6.10/09
Reference Guide
List of all members | Public Types | Public Member Functions | Private Attributes | List of all members
Pattern Class Reference

Definition at line 7 of file Pattern.h.

Public Types

typedef std::vector< double >::const_iterator const_iterator
 
typedef std::vector< double >::iterator iterator
 

Public Member Functions

 Pattern ()
 
 Pattern (const Pattern &other)
 
 Pattern (Pattern &&other)
 
template<typename ItValue >
 Pattern (ItValue inputBegin, ItValue inputEnd, ItValue outputBegin, ItValue outputEnd, double _weight=1.0)
 
template<typename ItValue >
 Pattern (ItValue inputBegin, ItValue inputEnd, double outputValue, double _weight=1.0)
 
template<typename InputContainer , typename OutputContainer >
 Pattern (InputContainer &_input, OutputContainer &_output, double _weight=1.0)
 
 ~Pattern ()
 
void addInput (double value)
 
void addOutput (double value)
 
const_iterator beginInput () const
 
const_iterator beginOutput () const
 
const_iterator endInput () const
 
const_iterator endOutput () const
 
std::vector< double > & input ()
 
const std::vector< double > & input () const
 
size_t inputSize () const
 
Patternoperator= (const Pattern &other)
 
std::vector< double > & output ()
 
const std::vector< double > & output () const
 
size_t outputSize () const
 
double weight () const
 
void weight (double w)
 

Private Attributes

std::vector< double > m_input
 
std::vector< double > m_output
 
double m_weight
 

#include <TMVA/Pattern.h>

Member Typedef Documentation

◆ const_iterator

typedef std::vector<double>::const_iterator Pattern::const_iterator

Definition at line 12 of file Pattern.h.

◆ iterator

typedef std::vector<double>::iterator Pattern::iterator

Definition at line 11 of file Pattern.h.

Constructor & Destructor Documentation

◆ Pattern() [1/6]

Pattern::Pattern ( )
inline

Definition at line 14 of file Pattern.h.

◆ ~Pattern()

Pattern::~Pattern ( )
inline

Definition at line 19 of file Pattern.h.

◆ Pattern() [2/6]

Pattern::Pattern ( const Pattern other)
inline

Definition at line 23 of file Pattern.h.

◆ Pattern() [3/6]

Pattern::Pattern ( Pattern &&  other)
inline

Definition at line 30 of file Pattern.h.

◆ Pattern() [4/6]

template<typename ItValue >
Pattern::Pattern ( ItValue  inputBegin,
ItValue  inputEnd,
ItValue  outputBegin,
ItValue  outputEnd,
double  _weight = 1.0 
)
inline

Definition at line 46 of file Pattern.h.

◆ Pattern() [5/6]

template<typename ItValue >
Pattern::Pattern ( ItValue  inputBegin,
ItValue  inputEnd,
double  outputValue,
double  _weight = 1.0 
)
inline

Definition at line 54 of file Pattern.h.

◆ Pattern() [6/6]

template<typename InputContainer , typename OutputContainer >
Pattern::Pattern ( InputContainer &  _input,
OutputContainer &  _output,
double  _weight = 1.0 
)
inline

Definition at line 62 of file Pattern.h.

Member Function Documentation

◆ addInput()

void Pattern::addInput ( double  value)
inline

Definition at line 80 of file Pattern.h.

◆ addOutput()

void Pattern::addOutput ( double  value)
inline

Definition at line 81 of file Pattern.h.

◆ beginInput()

const_iterator Pattern::beginInput ( ) const
inline

Definition at line 69 of file Pattern.h.

◆ beginOutput()

const_iterator Pattern::beginOutput ( ) const
inline

Definition at line 71 of file Pattern.h.

◆ endInput()

const_iterator Pattern::endInput ( ) const
inline

Definition at line 70 of file Pattern.h.

◆ endOutput()

const_iterator Pattern::endOutput ( ) const
inline

Definition at line 72 of file Pattern.h.

◆ input() [1/2]

std::vector<double>& Pattern::input ( )
inline

Definition at line 83 of file Pattern.h.

◆ input() [2/2]

const std::vector<double>& Pattern::input ( ) const
inline

Definition at line 85 of file Pattern.h.

◆ inputSize()

size_t Pattern::inputSize ( ) const
inline

Definition at line 77 of file Pattern.h.

◆ operator=()

Pattern& Pattern::operator= ( const Pattern other)
inline

Definition at line 37 of file Pattern.h.

◆ output() [1/2]

std::vector<double>& Pattern::output ( )
inline

Definition at line 84 of file Pattern.h.

◆ output() [2/2]

const std::vector<double>& Pattern::output ( ) const
inline

Definition at line 86 of file Pattern.h.

◆ outputSize()

size_t Pattern::outputSize ( ) const
inline

Definition at line 78 of file Pattern.h.

◆ weight() [1/2]

double Pattern::weight ( ) const
inline

Definition at line 74 of file Pattern.h.

◆ weight() [2/2]

void Pattern::weight ( double  w)
inline

Definition at line 75 of file Pattern.h.

Member Data Documentation

◆ m_input

std::vector<double> Pattern::m_input
private

Definition at line 89 of file Pattern.h.

◆ m_output

std::vector<double> Pattern::m_output
private

Definition at line 90 of file Pattern.h.

◆ m_weight

double Pattern::m_weight
private

Definition at line 91 of file Pattern.h.


The documentation for this class was generated from the following file: