| 
    Reranker Framework (ReFr)
    
   Reranking framework for structure prediction and discriminative language modeling 
   | 
 
The default comparator for comparing two Candidate instances for being the “gold” candidate. More...
#include <model.H>
  
 Public Member Functions | |
| virtual int | Compare (const Model &model, const Candidate &c1, const Candidate &c2) | 
This method first compares c1 to c2 based on their respective losses (i.e., the values returned by invoking their Candidate::loss methods): c1 is considered to be greater than c2 if it has a lower loss.  More... | |
  Public Member Functions inherited from reranker::FactoryConstructible | |
| virtual | ~FactoryConstructible () | 
| virtual void | RegisterInitializers (Initializers &initializers) | 
| virtual void | Init (const Environment *env, const string &arg) | 
The default comparator for comparing two Candidate instances for being the “gold” candidate.
      
  | 
  inlinevirtual | 
This method first compares c1 to c2 based on their respective losses (i.e., the values returned by invoking their Candidate::loss methods): c1 is considered to be greater than c2 if it has a lower loss. 
If the two losses are equal, then the two specified Candidate instances are compared based on score, as described by the documentation for the DefaultScoreComparator::Compare method.
Implements reranker::Candidate::Comparator.
 1.8.6