Ignore:
Timestamp:
Feb 17, 2006, 1:02:57 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Reverting these files to revision 505; these were changed by mistake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/Target.h

    r506 r507  
    2222 
    2323  public:
    24     Target(size_t n=0,int init_value=0,double=2.0);
    2524    ///
    2625    /// Default constructor
    2726    ///
    28 //    Target(const size_t n=0,const int init_value=0,double=2.0);
     27    inline Target(const size_t n=0,const int init_value=0)
     28      : vector_(std::vector<int>(n,init_value)) {init_classes();}
    2929
    3030    ///
     
    8888    std::map<int,u_int> classes_;       
    8989   
    90     void myinit_classes(void);
     90    void init_classes(void);
    9191
    9292  }; 
Note: See TracChangeset for help on using the changeset viewer.