Changeset 2728 for trunk/MagicSoft/Mars/mranforest
- Timestamp:
- 12/20/03 13:46:17 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRanTree.cc
r2307 r2728 24 24 25 25 ///////////////////////////////////////////////////////////////////////////// 26 // // 27 // MRanTree // 28 // // 29 // ParameterContainer for Tree structure // 30 // // 31 // // 26 // 27 // MRanTree 28 // 29 // ParameterContainer for Tree structure 30 // 32 31 ///////////////////////////////////////////////////////////////////////////// 33 32 #include "MRanTree.h" … … 159 158 Double_t pno=0; 160 159 Double_t pdo=0; 161 for (Int_t j=0; j<2;j++)160 for (Int_t j=0; j<2; j++) 162 161 { 163 162 pno+=tclasspop[j]*tclasspop[j]; … … 171 170 // (Gini-index as criterium crit) 172 171 173 Double_t critmax=- 1.0e20; // FIXME: Replace by a constant from limits.h172 Double_t critmax=-FLT_MAX; 174 173 175 174 // random split selection, number of trials = fNumTry 176 for (Int_t mt=0;mt<fNumTry;mt++)175 for (Int_t mt=0; mt<fNumTry; mt++) 177 176 { 178 177 const Int_t mvar=Int_t(gRandom->Rndm()*mdim);
Note:
See TracChangeset
for help on using the changeset viewer.