Ignore:
Timestamp:
Dec 22, 2006, 1:10:54 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Addresses #170..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/SVindex.h

    r706 r714  
    5050
    5151    // @return index_first
    52     inline size_t index_first(void) const { return index_first_; }
     52    size_t index_first(void) const;
    5353
    5454    // @return index_second
    55     inline size_t index_second(void) const { return index_second_; }
     55    size_t index_second(void) const;
    5656
    5757    // synch the object against alpha
    5858    void init(const utility::vector& alpha, const double);
    5959
    60     // @return nof samples
    61     inline size_t size(void) const { return vec_.size(); }
    62 
    6360    // @return nof support vectors
    64     inline size_t nof_sv(void) const { return nof_sv_; }
     61    size_t nof_sv(void) const;
    6562
    6663    // making first to an nsv. If already sv, nothing happens.
     
    7370    // nof_sv_ (the first nsv)
    7471    void shuffle(void);
     72
     73    // @return nof samples
     74    size_t size(void) const;
    7575
    7676    // making first to a sv. If already sv, nothing happens.
     
    8787
    8888    // @return value_first
    89     inline size_t value_first(void) const { return value_first_; }
     89    size_t value_first(void) const;
    9090
    9191    // @return const ref value_second
    92     inline size_t value_second(void) const { return value_second_; }
     92    size_t value_second(void) const;
    9393
    94     inline size_t operator()(size_t i) const { return vec_[i]; }
     94    size_t operator()(size_t i) const;
    9595
    9696  private:
Note: See TracChangeset for help on using the changeset viewer.