ROOT
6.06/09
Reference Guide
|
Public Member Functions | |
TKDEFGT () | |
Constructor. More... | |
virtual | ~TKDEFGT () |
Destructor. More... | |
void | BuildModel (const std::vector< Double_t > &sources, Double_t sigma=1., UInt_t dim=3, UInt_t p=8, UInt_t k=0) |
Calculate coefficients for FGT. More... | |
void | BuildModel (const TGL5DDataSet *sources, Double_t sigma=1., UInt_t p=8, UInt_t k=0) |
Calculate coefficients for FGT. More... | |
void | Predict (const std::vector< Double_t > &targets, std::vector< Double_t > &densities, Double_t e) const |
Calculate densities. More... | |
Private Member Functions | |
void | Kcenter (const std::vector< double > &x) |
Solve kcenter task. More... | |
void | Kcenter (const TGL5DDataSet *sources) |
Solve kcenter task. More... | |
void | Compute_C_k () |
Coefficients C_K. More... | |
void | Compute_A_k (const std::vector< Double_t > &x) |
Coefficients A_K. More... | |
void | Compute_A_k (const TGL5DDataSet *sources) |
Coefficients A_K. Special case for TTree and dim == 3. More... | |
TKDEFGT (const TKDEFGT &rhs) | |
TKDEFGT & | operator= (const TKDEFGT &rhs) |
Private Attributes | |
std::vector< Double_t > | fXC |
std::vector< Double_t > | fWeights |
std::vector< UInt_t > | fIndxc |
std::vector< Double_t > | fA_K |
std::vector< UInt_t > | fIndx |
std::vector< UInt_t > | fXhead |
std::vector< UInt_t > | fXboxsz |
std::vector< Double_t > | fDistC |
std::vector< Double_t > | fC_K |
std::vector< UInt_t > | fCinds |
std::vector< UInt_t > | fHeads |
std::vector< Double_t > | fDx |
std::vector< Double_t > | fProds |
UInt_t | fDim |
UInt_t | fP |
UInt_t | fK |
Double_t | fSigma |
UInt_t | fPD |
Bool_t | fModelValid |
#include <TKDEFGT.h>
TKDEFGT::TKDEFGT | ( | ) |
Constructor.
Definition at line 29 of file TKDEFGT.cxx.
|
virtual |
Destructor.
Definition at line 48 of file TKDEFGT.cxx.
|
private |
void TKDEFGT::BuildModel | ( | const std::vector< Double_t > & | sources, |
Double_t | sigma = 1. , |
||
UInt_t | dim = 3 , |
||
UInt_t | p = 8 , |
||
UInt_t | k = 0 |
||
) |
Calculate coefficients for FGT.
Definition at line 55 of file TKDEFGT.cxx.
Referenced by TGL5DPainter::AddSurface(), and TGL5DPainter::ResetGeometryRanges().
void TKDEFGT::BuildModel | ( | const TGL5DDataSet * | sources, |
Double_t | sigma = 1. , |
||
UInt_t | p = 8 , |
||
UInt_t | k = 0 |
||
) |
Calculate coefficients for FGT.
Alternative specialized version for data from TTree.
Definition at line 105 of file TKDEFGT.cxx.
|
private |
Coefficients A_K. Special case for TTree and dim == 3.
Definition at line 337 of file TKDEFGT.cxx.
|
private |
|
private |
Solve kcenter task.
Version for dim == 3 and data from TTree. Randomly pick one node as the first center.
Definition at line 209 of file TKDEFGT.cxx.
void TKDEFGT::Predict | ( | const std::vector< Double_t > & | targets, |
std::vector< Double_t > & | densities, | ||
Double_t | e | ||
) | const |
Calculate densities.
Definition at line 388 of file TKDEFGT.cxx.
Referenced by Rgl::Fgt::TKDEAdapter::FetchDensities().
|
private |
Definition at line 31 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Predict().
|
private |
Definition at line 36 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Compute_C_k().
|
private |
Definition at line 37 of file TKDEFGT.h.
Referenced by BuildModel(), and Compute_C_k().
|
private |
Definition at line 43 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), Compute_C_k(), Kcenter(), and Predict().
|
private |
Definition at line 35 of file TKDEFGT.h.
Referenced by BuildModel(), and Kcenter().
|
mutableprivate |
Definition at line 40 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Predict().
|
mutableprivate |
Definition at line 39 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), Compute_C_k(), and Predict().
|
private |
Definition at line 32 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Kcenter().
|
private |
Definition at line 30 of file TKDEFGT.h.
Referenced by BuildModel(), and Kcenter().
|
private |
Definition at line 45 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), Kcenter(), and Predict().
|
private |
Definition at line 48 of file TKDEFGT.h.
Referenced by BuildModel(), and Predict().
|
private |
Definition at line 44 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Compute_C_k().
|
private |
Definition at line 47 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Predict().
|
mutableprivate |
Definition at line 41 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Predict().
|
private |
Definition at line 46 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), and Predict().
|
private |
Definition at line 29 of file TKDEFGT.h.
Referenced by BuildModel(), and Compute_A_k().
|
private |
Definition at line 34 of file TKDEFGT.h.
Referenced by BuildModel(), and Kcenter().
|
private |
Definition at line 28 of file TKDEFGT.h.
Referenced by BuildModel(), Compute_A_k(), Kcenter(), and Predict().
|
private |
Definition at line 33 of file TKDEFGT.h.
Referenced by BuildModel().