Ignore:
Timestamp:
Mar 5, 2006, 5:42:38 PM (16 years ago)
Author:
Peter
Message:

moved destruction of ranker to SupervisedClassifier?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/SupervisedClassifier.cc

    r526 r543  
    22
    33#include <c++_tools/classifier/SupervisedClassifier.h>
     4#include <c++_tools/classifier/InputRanker.h>
    45
    56namespace theplu {
     
    1213  }
    1314
    14     SupervisedClassifier::SupervisedClassifier(const Target& target,
     15  SupervisedClassifier::SupervisedClassifier(const Target& target,
    1516                                             statistics::Score* score,
    1617                                             const size_t nof_inputs)
     
    2021  }
    2122
     23  SupervisedClassifier::~SupervisedClassifier()
     24  {
     25    if(ranker_)
     26      delete ranker_;
     27  }
     28
    2229
    2330}}
Note: See TracChangeset for help on using the changeset viewer.