Changeset 181


Ignore:
Timestamp:
Oct 4, 2004, 5:22:05 PM (18 years ago)
Author:
Peter
Message:

modified constructors to take bool absolute

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Pearson.cc

    r179 r181  
    1616namespace cpptools { 
    1717
    18   Pearson::Pearson()
    19     : Score(), r_(0), nof_samples_(0), weighted_(true)
     18  Pearson::Pearson(bool b)
     19    : Score(b), r_(0), nof_samples_(0), weighted_(true)
    2020  {
    2121  }
  • trunk/src/Pearson.h

    r179 r181  
    3030    /// Default Constructor.
    3131    ///
    32     Pearson();
     32    Pearson(bool absolute=true);
    3333
    3434    ///
  • trunk/src/ROC.cc

    r179 r181  
    1717namespace cpptools { 
    1818
    19   ROC::ROC()
    20     : Score(), area_(-1), minimum_size_(10), nof_pos_(0), 
     19  ROC::ROC(bool b)
     20    : Score(b), area_(-1), minimum_size_(10), nof_pos_(0), 
    2121      train_set_(std::vector<size_t>()),
    2222      value_(std::vector<std::pair<double, double> >()),
  • trunk/src/ROC.h

    r179 r181  
    2727    /// Default constructor
    2828    ///
    29     ROC();
     29    ROC(bool absolute=true);
    3030         
    3131    ///
  • trunk/src/tScore.cc

    r179 r181  
    1313namespace cpptools { 
    1414
    15   tScore::tScore()
    16     : Score(),  t_(0), train_set_(), weight_()
     15  tScore::tScore(bool b)
     16    : Score(b),  t_(0), train_set_(), weight_()
    1717  {
    1818  }
  • trunk/src/tScore.h

    r179 r181  
    2828    /// Default Constructor.
    2929    ///
    30     tScore();
     30    tScore(bool absolute=true);
    3131
    3232    ///
Note: See TracChangeset for help on using the changeset viewer.