Ignore:
Timestamp:
Oct 6, 2006, 9:03:19 AM (15 years ago)
Author:
Peter
Message:

refs #151 using Functor now in consensusinputranker to retrieve information from inputranker to sort on. Median is still hard-coded so I leave this ticket open.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/IRRank.h

    r666 r667  
    55
    66#include <c++_tools/classifier/InputRanker.h>
     7#include <c++_tools/classifier/IRRetrieve.h>
    78
    89namespace theplu {
     
    2324    inline double operator()(const InputRanker& ranker, size_t i) const
    2425    {
    25       return -ranker.rank()[i];
     26      return -static_cast<double>(ranker.rank()[i]);
    2627    }
    2728  };
Note: See TracChangeset for help on using the changeset viewer.