Ignore:
Timestamp:
Aug 2, 1999, 3:45:52 PM (26 years ago)
Author:
ansari
Message:

archtoi 2 aout 99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Poubelle/archTOI.old/toiinterpolator.cc

    r315 r342  
    5858}
    5959
     60bool TOIInterpolator::isNewValue(long sample)
     61{
     62  deque<pair>::iterator i = hist.begin();
     63  while (i!=hist.end()) {
     64    if ((*i).t == sample) return true;
     65    if ((*i).t > sample) return false;
     66    i++;
     67  }
     68  return false;
     69}
     70
     71
    6072long TOIInterpolator::nextSample(long sampleMin)
    6173{
Note: See TracChangeset for help on using the changeset viewer.