Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

PatternManager Class Reference

#include <PatternManager.h>

Inheritance diagram for PatternManager:

Analyzer Interface List of all members.

Public Member Functions

 PatternManager ()
 ~PatternManager ()
std::vector< PatterngetPatternSet () const
std::vector< Int_t > getRuntimeInput () const
void setPatternSet (std::vector< Pattern > vector)
void setRuntimeInput (std::vector< Int_t > vector)
void clearPatternSet ()
void clearRuntimeInput ()
void pushBackRuntimeInput (Int_t value)
std::vector< PatterngetPatternSubset (std::string type)
UInt_t getPatternSetSize () const
UInt_t getPatternSetSize (std::string type="")
UInt_t getRuntimeInputSize ()
void printVector (std::vector< Double_t > vector, std::string tagStringi="")
void printVector (std::vector< Int_t > vector, std::string tagStringi="")
void initializeRuntimeInput (Int_t n)
void standartizePatternSetUsing (std::string type)
void standartizeTargetsUsing (std::string type)
void PrintPatternSet (std::string type="")
 Prints out all patterns having type from the pattern set.

Double_t CalculateError (std::string type="")
 Calculats an error defined as the difference between an actual NN output and a desired target value.

std::vector< Double_t > getPatternInput (Int_t n, std::string type)
std::vector< Double_t > getPatternInput (Int_t n, Double_t target, std::string type)
std::vector< Double_t > getPatternTarget (Int_t n, std::string type)

Protected Attributes

std::vector< PatternpatternSet
std::vector< Int_t > runtimeInput
std::vector< Double_t > mean
std::vector< Double_t > rms

Constructor & Destructor Documentation

PatternManager::PatternManager  ) 
 

PatternManager::~PatternManager  ) 
 


Member Function Documentation

Double_t PatternManager::CalculateError std::string  type = ""  ) 
 

Calculats an error defined as the difference between an actual NN output and a desired target value.

The differences are summed in quadrature for all NN outputs and the final value is normalized as:

$ \sqrt{\frac{SSE}{N_{subpat}}} $

Reimplemented in Interface.

void PatternManager::clearPatternSet  )  [inline]
 

void PatternManager::clearRuntimeInput  )  [inline]
 

vector< Double_t > PatternManager::getPatternInput Int_t  n,
Double_t  target,
std::string  type
 

vector< Double_t > PatternManager::getPatternInput Int_t  n,
std::string  type
 

std::vector<Pattern> PatternManager::getPatternSet  )  const [inline]
 

UInt_t PatternManager::getPatternSetSize std::string  type = ""  ) 
 

UInt_t PatternManager::getPatternSetSize  )  const [inline]
 

vector< Pattern > PatternManager::getPatternSubset std::string  type  ) 
 

vector< Double_t > PatternManager::getPatternTarget Int_t  n,
std::string  type
 

std::vector<Int_t> PatternManager::getRuntimeInput  )  const [inline]
 

UInt_t PatternManager::getRuntimeInputSize  ) 
 

void PatternManager::initializeRuntimeInput Int_t  n  ) 
 

void PatternManager::PrintPatternSet std::string  type = ""  ) 
 

Prints out all patterns having type from the pattern set.

void PatternManager::printVector std::vector< Int_t >  vector,
std::string  tagStringi = ""
 

void PatternManager::printVector std::vector< Double_t >  vector,
std::string  tagStringi = ""
 

void PatternManager::pushBackRuntimeInput Int_t  value  )  [inline]
 

void PatternManager::setPatternSet std::vector< Pattern vector  )  [inline]
 

void PatternManager::setRuntimeInput std::vector< Int_t >  vector  )  [inline]
 

void PatternManager::standartizePatternSetUsing std::string  type  ) 
 

void PatternManager::standartizeTargetsUsing std::string  type  ) 
 


Member Data Documentation

std::vector<Double_t> PatternManager::mean [protected]
 

std::vector<Pattern> PatternManager::patternSet [protected]
 

std::vector<Double_t> PatternManager::rms [protected]
 

std::vector<Int_t> PatternManager::runtimeInput [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 17:06:36 2006 for ROOTSNNS by doxygen 1.3.6