Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
classTree.cpp File Reference
#include "rf.h"
#include "memory.h"
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
Include dependency graph for classTree.cpp:

Macros

#define Rprintf   printf
 

Functions

void seedMT (uint32 seed)
 
uint32 reloadMT (void)
 
uint32 randomMT (void)
 
double unif_rand ()
 
void R_qsort_I (double *v, int *I, int i, int j)
 
void catmax_ (double *parentDen, double *tclasscat, double *tclasspop, int *nclass, int *lcat, int *ncatsp, double *critmax, int *nhit, int *maxcat, int *ncmax, int *ncsplit)
 
void catmaxb_ (double *totalWt, double *tclasscat, double *classCount, int *nclass, int *nCat, int *nbest, double *critmax, int *nhit, double *catCount)
 
void F77_NAME catmax (double *parentDen, double *tclasscat, double *tclasspop, int *nclass, int *lcat, int *ncatsp, double *critmax, int *nhit, int *maxcat, int *ncmax, int *ncsplit)
 
void F77_NAME catmaxb (double *totalWt, double *tclasscat, double *classCount, int *nclass, int *nCat, int *nbest, double *critmax, int *nhit, double *catCount)
 
void predictClassTree (double *x, int n, int mdim, int *treemap, int *nodestatus, double *xbestsplit, int *bestvar, int *nodeclass, int treeSize, int *cat, int nclass, int *jts, int *nodex, int maxcat)
 

Macro Definition Documentation

◆ Rprintf

#define Rprintf   printf

Function Documentation

◆ catmax()

void F77_NAME catmax ( double * parentDen,
double * tclasscat,
double * tclasspop,
int * nclass,
int * lcat,
int * ncatsp,
double * critmax,
int * nhit,
int * maxcat,
int * ncmax,
int * ncsplit )

References catmax(), n, pack(), unif_rand(), unpack(), and zeroInt().

Referenced by catmax().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ catmax_()

void catmax_ ( double * parentDen,
double * tclasscat,
double * tclasspop,
int * nclass,
int * lcat,
int * ncatsp,
double * critmax,
int * nhit,
int * maxcat,
int * ncmax,
int * ncsplit )

◆ catmaxb()

void F77_NAME catmaxb ( double * totalWt,
double * tclasscat,
double * classCount,
int * nclass,
int * nCat,
int * nbest,
double * critmax,
int * nhit,
double * catCount )

References catmaxb(), pack(), R_qsort_I(), and zeroInt().

Referenced by catmaxb().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ catmaxb_()

void catmaxb_ ( double * totalWt,
double * tclasscat,
double * classCount,
int * nclass,
int * nCat,
int * nbest,
double * critmax,
int * nhit,
double * catCount )

◆ predictClassTree()

void predictClassTree ( double * x,
int n,
int mdim,
int * treemap,
int * nodestatus,
double * xbestsplit,
int * bestvar,
int * nodeclass,
int treeSize,
int * cat,
int nclass,
int * jts,
int * nodex,
int maxcat )

References n, NODE_TERMINAL, and zeroInt().

Referenced by classForest(), and classRF().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ R_qsort_I()

void R_qsort_I ( double * v,
int * I,
int i,
int j )
extern

References NUMERIC.

Referenced by catmaxb(), findBestSplit(), and makeA().

Here is the caller graph for this function:

◆ randomMT()

uint32 randomMT ( void )
extern

◆ reloadMT()

uint32 reloadMT ( void )
extern

◆ seedMT()

void seedMT ( uint32 seed)
extern

◆ unif_rand()

double unif_rand ( )
extern

Referenced by catmax().

Here is the caller graph for this function: