Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

TDSPSolver Class Reference

#include <TDSPSolver.h>

Inheritance diagram for TDSPSolver:

TQQObject TDSPLinearSolver

Detailed Description

Base class for solvers
Author:
Peter Jung

Definition at line 28 of file TDSPSolver.h.

Public Member Functions

 TDSPSolver ()
virtual ~TDSPSolver ()
virtual Int_t GetNumInputs ()=0
virtual Int_t GetNumOutputs ()=0
virtual Double_t Redundancy ()
virtual Bool_t Solve ()=0
 Solve - Return kTRUE if there are solutions.

void SetY (TDSPVector *y)
void SetY (TDSPVector &y)
void SetX (TDSPVector *x)
void SetX (TDSPVector &x)
void SetXAlphabet (TDSPVector *a)
void SetXAlphabet (TComplex *a, Int_t l)
 Set the possible complex values for each X_i.

void SetXMinDist (Double_t)
 Set the minimal distance for breaking the ML-Algorithm.

TDSPVectorY () const
TDSPVectorGetY () const
TDSPVectorX () const
TDSPVectorGetX () const
virtual void Print ()=0

Protected Attributes

Bool_t fHaveSolution
 Is there a solution ?

TDSPVectorfY
TDSPVectorfX
 Vector y in the equation y=A(x)+b.

Int_t fNumXAlphabet
 Solution Vector x in the equation y=A(x)+b.

TComplexfXAlphabet
Double_t fMinDist
 Minimal Distances for break the ML-Searching.


Constructor & Destructor Documentation

TDSPSolver::TDSPSolver  ) 
 

virtual TDSPSolver::~TDSPSolver  )  [virtual]
 


Member Function Documentation

virtual Int_t TDSPSolver::GetNumInputs  )  [pure virtual]
 

Implemented in TDSPLinearSolver.

Referenced by Redundancy().

virtual Int_t TDSPSolver::GetNumOutputs  )  [pure virtual]
 

Implemented in TDSPLinearSolver.

Referenced by TDSPBlockSolve::GetBlockLen(), and Redundancy().

TDSPVector* TDSPSolver::GetX  )  const [inline]
 

Definition at line 61 of file TDSPSolver.h.

References fX.

00061 { return fX; }; 

TDSPVector* TDSPSolver::GetY  )  const [inline]
 

Definition at line 59 of file TDSPSolver.h.

References fY.

00059 { return fY; }; 

virtual void TDSPSolver::Print  )  [pure virtual]
 

Implemented in TDSPLinearSolver.

virtual Double_t TDSPSolver::Redundancy  )  [inline, virtual]
 

Definition at line 46 of file TDSPSolver.h.

References GetNumInputs(), and GetNumOutputs().

00046 { return Double_t(GetNumOutputs())/Double_t(GetNumInputs());};

void TDSPSolver::SetX TDSPVector x  )  [inline]
 

Definition at line 53 of file TDSPSolver.h.

References SetX().

00053 { SetX(&x);}; 

void TDSPSolver::SetX TDSPVector x  )  [inline]
 

Definition at line 52 of file TDSPSolver.h.

References fX.

Referenced by SetX().

00052 { fX = x;};   

void TDSPSolver::SetXAlphabet TComplex a,
Int_t  l
 

Set the possible complex values for each X_i.

void TDSPSolver::SetXAlphabet TDSPVector a  )  [inline]
 

Definition at line 54 of file TDSPSolver.h.

References TDSPVector::GetLen(), and TDSPVector::GetVec().

00054 { SetXAlphabet(a->GetVec(),a->GetLen());};

void TDSPSolver::SetXMinDist Double_t   ) 
 

Set the minimal distance for breaking the ML-Algorithm.

void TDSPSolver::SetY TDSPVector y  )  [inline]
 

Definition at line 51 of file TDSPSolver.h.

References SetY().

00051 { SetY(&y);}; 

void TDSPSolver::SetY TDSPVector y  )  [inline]
 

Definition at line 50 of file TDSPSolver.h.

References fY.

Referenced by TDSPLinearSolver::Set(), and SetY().

00050 { fY = y;};   

virtual Bool_t TDSPSolver::Solve  )  [pure virtual]
 

Solve - Return kTRUE if there are solutions.

Implemented in TDSPLinearSolver.

TDSPVector* TDSPSolver::X  )  const [inline]
 

Definition at line 60 of file TDSPSolver.h.

References fX.

00060 { return fX; }; 

TDSPVector* TDSPSolver::Y  )  const [inline]
 

Definition at line 58 of file TDSPSolver.h.

References fY.

00058 { return fY; }; 


Field Documentation

Bool_t TDSPSolver::fHaveSolution [protected]
 

Is there a solution ?

Definition at line 32 of file TDSPSolver.h.

Double_t TDSPSolver::fMinDist [protected]
 

Minimal Distances for break the ML-Searching.

Definition at line 38 of file TDSPSolver.h.

Int_t TDSPSolver::fNumXAlphabet [protected]
 

Solution Vector x in the equation y=A(x)+b.

Definition at line 36 of file TDSPSolver.h.

TDSPVector* TDSPSolver::fX [protected]
 

Vector y in the equation y=A(x)+b.

Definition at line 35 of file TDSPSolver.h.

Referenced by GetX(), SetX(), and X().

TComplex* TDSPSolver::fXAlphabet [protected]
 

Definition at line 37 of file TDSPSolver.h.

TDSPVector* TDSPSolver::fY [protected]
 

Definition at line 34 of file TDSPSolver.h.

Referenced by GetY(), SetY(), and Y().


The documentation for this class was generated from the following file:
Generated on Fri Apr 23 16:24:10 2004 by doxygen 1.3.2