#include <iostream>
Include dependency graph for general.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | DEBUGON |
#define | LAMBDA_PREC 1.0E-5 |
#define | PREC_ARITM 1.0E-7 |
#define | TNNearlyZero 1E-05 |
#define | Real double |
#define | JacobiTolerance 1.0e-6 |
#define | MaxIterations 50 |
#define | MAXREAL 1.0e+100 |
#define | MINREAL -1.0e+100 |
#define | BLKSIZE 4096 |
#define | BIG_NR 1000000 |
#define | SMALL_POZ_VALUE 3.0E-13 |
#define | LARGE_POZ_VALUE 3.0E+100 |
#define | MAX_CATEGORIES 10000 |
#define | MAX_VARIABLES 1000 |
#define | INT_MAX 2147483647 |
#define | EBADDIM 1 |
#define | NonEqual(X, Y) ( (fabs(X)+fabs(Y))==0.0?0:NonZero((X-Y)/(fabs(X)+fabs(Y))) ) |
#define | IsEqual(X, Y) ( (fabs(X)+fabs(Y))==0.0?1:IsZero((X-Y)/(fabs(X)+fabs(Y))) ) |
#define | NonZero(X) ( ( (X)>TNNearlyZero ) || ( (X)<-TNNearlyZero ) ) |
#define | IsZero(X) ( ( (X)<TNNearlyZero ) && ( (X)>-TNNearlyZero ) ) |
#define | NonZeroM(X) ( ( (X)>TNNearlyZero*100 ) || ( (X)<-TNNearlyZero*100 ) ) |
#define | RANDOM01FLOAT ( (1.0*rand())/RAND_MAX ) |
#define | ExitIf(Cond, Text) |
#define | ExitIf(Cond, Text) |
Functions | |
double | pow2 (double x) |
|
Definition at line 61 of file general.h. Referenced by CLUS::StreamDCTrainingData::StreamDCTrainingData(), and CLUS::StreamDataProducer::Tick(). |
|
|
|
|
|
|
|
|
|
Value: if ( Cond ) { \
cout << Text << endl; \
exit(1); \
}
Definition at line 89 of file general.h. Referenced by CLUS::MultiDimNormal::ComputeCCoef(), CLUS::CreateStreamDCTrainingDataFromFile(), CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::TrainingData::Normalize(), CLUS::RPMSConsumer::SetRealInput(), and CLUS::StreamDCTrainingData::StreamDCTrainingData(). |
|
|
Definition at line 76 of file general.h. Referenced by CLUS::UnidimensionalQDAVariance(). |
|
Definition at line 78 of file general.h. Referenced by CLUS::ComputeSeparatingHyperplane_LDA(). |
|
|
|
|
|
Definition at line 63 of file general.h. Referenced by CLUS::UnidimensionalQDAVariance(). |
|
Definition at line 64 of file general.h. Referenced by CLUS::DiscreteGiniGain(). |
|
|
|
|
Definition at line 58 of file general.h. Referenced by CLUS::MultiDimNormal::LearnProbability(). |
|
|
|
Definition at line 75 of file general.h. Referenced by CLUS::DiscreteGiniGain(), and CLUS::UnidimensionalQDA(). |
|
Definition at line 77 of file general.h. Referenced by CLUS::MultiDecisionTreeNode< T_Splitter >::combineCenters(), CLUS::MultiDecisionTreeNode< T_Splitter >::combineLabeledCenters(), CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::UnidimensionalQDA(). |
|
|
|
|
|
Definition at line 81 of file general.h. Referenced by CLUS::GenerateRandomVector2(), CLUS::SphericCluster::InitializeOnPoint(), CLUS::SphericCluster::RandomCluster(), CLUS::SimpleNormalDistribution::RandomDistribution(), and CLUS::MultiDimNormal::RandomDistribution(). |
|
|
|
Definition at line 62 of file general.h. Referenced by CLUS::MultiDimNormal::ComputeCCoef(), CLUS::ComputeSeparatingHyperplane_QDA(), CLUS::UnidimensionalQDA(), CLUS::UnidimensionalQDAVariance(), CLUS::MultidimNormalStatistics::UpdateParameters(), and CLUS::MultiDimNormal::UpdateParameters(). |
|
Definition at line 54 of file general.h. Referenced by CLUS::ComputeSeparatingHyperplane_LDA(), and CLUS::BinaryObliqueSplitter::ComputeSplitVariable(). |
|