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

CLUS::BinaryObliqueSplitter Class Reference

#include <binaryobliquesplitter.h>

Inheritance diagram for CLUS::BinaryObliqueSplitter:

Inheritance graph
[legend]
Collaboration diagram for CLUS::BinaryObliqueSplitter:

Collaboration graph
[legend]

Public Member Functions

 BinaryObliqueSplitter ()
 BinaryObliqueSplitter (const Vector< int > &DDomainSize, int CsplitDim, int RegDim)
 BinaryObliqueSplitter (BinarySplitter &aux)
bool MoreSplits (int branch, int Min_no_datapoints)
 Should be called after ComputeSplitVariable().

double ProbabilityLeft (const int *Dvars, const double *Cvars)
 Compute the probability to take the left branch.

int ChooseBranch (const int *Dvars, const double *Cvars)
 Decides what branch to choose.

void InitializeSplitStatistics (void)
 Initializes the data structures used in split variable selection.

void UpdateSplitStatistics (const int *Dvars, const double *Cvars, double p1I, double p2I, double probability)
void DeleteTemporaryStatistics (void)
 Cleans up all the unnecessary statistics after the decision has been made.

int ComputeSplitVariable (int type=MultidimNormalStatistics::LDA)
 Decides on a split variable and frees the data structures used in split selection.


Data Fields

enum MultidimNormalStatistics::SeparationType CSepHypType
 which of the three methods is used for computation of separating hyperplane


Protected Member Functions

double ProbabilityLeftPrivate (const int *Dvars, const double *Cvars)

Protected Attributes

int N
Vector< ProbabilisticBinomialStatisticsdiscreteStatistics
MultidimNormalStatistics continuousStatistics
bool purePart

Constructor & Destructor Documentation

CLUS::BinaryObliqueSplitter::BinaryObliqueSplitter  )  [inline]
 

Definition at line 90 of file binaryobliquesplitter.h.

CLUS::BinaryObliqueSplitter::BinaryObliqueSplitter const Vector< int > &  DDomainSize,
int  CsplitDim,
int  RegDim
[inline]
 

Definition at line 92 of file binaryobliquesplitter.h.

CLUS::BinaryObliqueSplitter::BinaryObliqueSplitter BinarySplitter aux  )  [inline]
 

Definition at line 95 of file binaryobliquesplitter.h.


Member Function Documentation

int CLUS::BinaryObliqueSplitter::ChooseBranch const int *  Dvars,
const double *  Cvars
[inline]
 

Decides what branch to choose.

Reimplemented from CLUS::BinarySplitter.

Definition at line 128 of file binaryobliquesplitter.h.

int CLUS::BinaryObliqueSplitter::ComputeSplitVariable int  type = MultidimNormalStatistics::LDA  )  [inline]
 

Decides on a split variable and frees the data structures used in split selection.

Returns:
0 if a split variable could be computed, -1 otherwise.

Reimplemented from CLUS::BinarySplitter.

Definition at line 171 of file binaryobliquesplitter.h.

void CLUS::BinaryObliqueSplitter::DeleteTemporaryStatistics void   )  [inline]
 

Cleans up all the unnecessary statistics after the decision has been made.

Reimplemented from CLUS::BinarySplitter.

Definition at line 164 of file binaryobliquesplitter.h.

void CLUS::BinaryObliqueSplitter::InitializeSplitStatistics void   )  [inline]
 

Initializes the data structures used in split variable selection.

Reimplemented from CLUS::BinarySplitter.

Definition at line 136 of file binaryobliquesplitter.h.

bool CLUS::BinaryObliqueSplitter::MoreSplits int  branch,
int  Min_no_datapoints
[inline]
 

Should be called after ComputeSplitVariable().

Returns:
true if the children given by branch will be splitted in the future

Reimplemented from CLUS::BinarySplitter.

Definition at line 106 of file binaryobliquesplitter.h.

double CLUS::BinaryObliqueSplitter::ProbabilityLeft const int *  Dvars,
const double *  Cvars
[inline]
 

Compute the probability to take the left branch.

Reimplemented in CLUS::BinaryObliqueProbabilisticSplitter.

Definition at line 120 of file binaryobliquesplitter.h.

double CLUS::BinaryObliqueSplitter::ProbabilityLeftPrivate const int *  Dvars,
const double *  Cvars
[inline, protected]
 

Definition at line 60 of file binaryobliquesplitter.h.

Referenced by ChooseBranch(), ProbabilityLeft(), and CLUS::BinaryObliqueProbabilisticSplitter::ProbabilityLeft().

void CLUS::BinaryObliqueSplitter::UpdateSplitStatistics const int *  Dvars,
const double *  Cvars,
double  p1I,
double  p2I,
double  probability
[inline]
 

Definition at line 147 of file binaryobliquesplitter.h.


Field Documentation

MultidimNormalStatistics CLUS::BinaryObliqueSplitter::continuousStatistics [protected]
 

Definition at line 56 of file binaryobliquesplitter.h.

Referenced by ComputeSplitVariable(), DeleteTemporaryStatistics(), InitializeSplitStatistics(), MoreSplits(), and UpdateSplitStatistics().

enum MultidimNormalStatistics::SeparationType CLUS::BinaryObliqueSplitter::CSepHypType
 

which of the three methods is used for computation of separating hyperplane

Definition at line 101 of file binaryobliquesplitter.h.

Vector<ProbabilisticBinomialStatistics> CLUS::BinaryObliqueSplitter::discreteStatistics [protected]
 

Definition at line 55 of file binaryobliquesplitter.h.

Referenced by ComputeSplitVariable(), DeleteTemporaryStatistics(), InitializeSplitStatistics(), and UpdateSplitStatistics().

int CLUS::BinaryObliqueSplitter::N [protected]
 

Definition at line 54 of file binaryobliquesplitter.h.

Referenced by BinaryObliqueSplitter(), ComputeSplitVariable(), and UpdateSplitStatistics().

bool CLUS::BinaryObliqueSplitter::purePart [protected]
 

Definition at line 58 of file binaryobliquesplitter.h.

Referenced by BinaryObliqueSplitter(), ComputeSplitVariable(), and MoreSplits().


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