Ignore:
Timestamp:
Feb 14, 2008, 3:26:19 PM (13 years ago)
Author:
Peter
Message:

Closes #247. Removed IteratorWeighted? iterators over weighted container instead can use Iterator with a special Policy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/DataLookup2D.cc

    r1000 r1088  
    123123
    124124
     125  double DataLookup2D::data(size_t i, size_t j) const
     126  {
     127    return (*this)(i,j);
     128  }
     129
     130
    125131  size_t DataLookup2D::rows(void) const
    126132  {
    127133    return row_index_.size();
     134  }
     135
     136
     137  double DataLookup2D::weight(size_t i, size_t j) const
     138  {
     139    return 1.0;
    128140  }
    129141
Note: See TracChangeset for help on using the changeset viewer.