Changeset 7422 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/22/05 12:18:47 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7421 r7422  
    4242     - added another training type
    4343     - added some comments
     44     - set version number to 1 to allow writing it to ganymed output
     45     - added Print function
    4446
    4547   * mranforest/MRanTree.[h,cc]:
  • trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc

    r7420 r7422  
    6161
    6262MRanForestCalc::MRanForestCalc(const char *name, const char *title)
    63     : fDebug(kFALSE), fData(0), fRFOut(0),
     63    : fData(0), fRFOut(0), fTestMatrix(0),
    6464    fNumTrees(-1), fNumTry(-1), fNdSize(-1), fNumObsoleteVariables(1),
    65     fTestMatrix(0), fEstimationMode(kMean)
     65    fNameOutput(gsNameOutput), fDebug(kFALSE), fEstimationMode(kMean)
    6666{
    6767    fName  = name  ? name  : gsDefName.Data();
     
    376376}
    377377
     378void MRanForest::Print(Option_t *o) const
     379{
     380    *fLog << all;
     381    *fLog << GetDescriptor() << ":" << endl;
     382    *fLog << " - Forest ";
     383    switch (fEForests.GetEntries())
     384    {
     385    case 0:  *fLog << "not yet initialized." << endl;     break;
     386    case 1:  *fLog << "is a single tree forest." << endl; break;
     387    default: *fLog << "is a multi tree forest." << endl;  break;
     388    }
     389    /*
     390     *fLog << " - Trees: " << fNumTrees << endl;
     391     *fLog << " - Trys: " << fNumTry << endl;
     392     *fLog << " - Node Size: " << fNdSize << endl;
     393     *fLog << " - Node Size: " << fNdSize << endl;
     394     */
     395    *fLog << " - FileName: " << fFileName << endl;
     396    *fLog << " - NameOutput: " << fNameOutput << endl;
     397}
     398
    378399// --------------------------------------------------------------------------
    379400//
Note: See TracChangeset for help on using the changeset viewer.