Opened 14 years ago

Closed 14 years ago

#174 closed defect (fixed)

IRRank class is defined in two files!

Reported by: Jari Häkkinen Owned by: Markus Ringnér
Priority: critical Milestone: yat 0.2
Component: classifier Version: trunk
Keywords: Cc:

Description

IRRank.h and IRScore.h contains class IRRank. There is no IRScore class in either of these two files. I assume one of the files are redundant. A diff between the two files yields

1,2c1,2 < #ifndef _theplu_yat_classifier_ir_rank_ < #define _theplu_yat_classifier_ir_rank_ ---

#ifndef _theplu_yat_classifier_ir_score_ #define _theplu_yat_classifier_ir_score_

28d27 < #include "IRRetrieve.h" 35c34 < / Functor retrieving minus rank from a InputRanker? to ---

/ Functor retrieving score from a InputRanker? to

48c47 < return -static_cast<double>(ranker.rank()[i]); ---

return ranker.score(ranker.rank()[i]);

Change History (1)

comment:1 Changed 14 years ago by Peter

Resolution: fixed
Status: newclosed

(In [721]) fixes #174 IRScore.h removed

Note: See TracTickets for help on using tickets.