Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

CLUS::Scale Class Reference

The following structure is used for scaling the inputs and the outputs newVal=adit+mult*oldVal. More...

#include <normaliz.h>


Public Types

enum  NormType { Interval, Distribution }

Public Member Functions

 Scale (Real Ad=0.0, Real Mu=1.0, NormType Type=Interval)
void SetCoefForInput (double arg1, double arg2, NormType Type)
void SetCoefForOutput (double arg1, double arg2, NormType Type)
double Transform (double data) const
double InverseTransform (double data) const
void SaveToStream (ostream &out)
void LoadFromStream (istream &in)

Data Fields

NormType type

Private Attributes

double adit
double mult


Detailed Description

The following structure is used for scaling the inputs and the outputs newVal=adit+mult*oldVal.

The input values are scaled by the data generator when identification is in progres and by inference function when we use it. This applies also to output variables but infer() treats diferently input and output values and the data genetator that contained the training data and which computes the scaling factors must take in consideration this thing (input scaling computations are diferent from output ones).

Definition at line 52 of file normaliz.h.


Member Enumeration Documentation

enum CLUS::Scale::NormType
 

Enumeration values:
Interval 
Distribution 

Definition at line 60 of file normaliz.h.


Constructor & Destructor Documentation

CLUS::Scale::Scale Real  Ad = 0.0,
Real  Mu = 1.0,
NormType  Type = Interval
[inline]
 

Definition at line 63 of file normaliz.h.


Member Function Documentation

double CLUS::Scale::InverseTransform double  data  )  const [inline]
 

Definition at line 119 of file normaliz.h.

void CLUS::Scale::LoadFromStream istream &  in  )  [inline]
 

Definition at line 129 of file normaliz.h.

void CLUS::Scale::SaveToStream ostream &  out  )  [inline]
 

Definition at line 124 of file normaliz.h.

void CLUS::Scale::SetCoefForInput double  arg1,
double  arg2,
NormType  Type
[inline]
 

Definition at line 66 of file normaliz.h.

void CLUS::Scale::SetCoefForOutput double  arg1,
double  arg2,
NormType  Type
[inline]
 

Definition at line 91 of file normaliz.h.

double CLUS::Scale::Transform double  data  )  const [inline]
 

Definition at line 114 of file normaliz.h.


Field Documentation

double CLUS::Scale::adit [private]
 

Definition at line 56 of file normaliz.h.

Referenced by InverseTransform(), LoadFromStream(), SaveToStream(), Scale(), SetCoefForInput(), SetCoefForOutput(), and Transform().

double CLUS::Scale::mult [private]
 

Definition at line 57 of file normaliz.h.

Referenced by InverseTransform(), LoadFromStream(), SaveToStream(), Scale(), SetCoefForInput(), SetCoefForOutput(), and Transform().

NormType CLUS::Scale::type
 

Definition at line 61 of file normaliz.h.

Referenced by Scale(), SetCoefForInput(), and SetCoefForOutput().


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 16:57:52 2003 for SECRET by doxygen 1.3.2