Moses::HypothesisRecombinationOrderer Class Reference

#include <Hypothesis.h>

List of all members.

Public Member Functions

bool operator() (const Hypothesis *hypoA, const Hypothesis *hypoB) const


Detailed Description

defines less-than relation on hypotheses. The particular order is not important for us, we need just to figure out which hypothesis are equal based on: the last n-1 target words are the same and the covers (source words translated) are the same Directly using RecombineCompare is unreliable because the Compare methods of some states are based on archictecture-dependent pointer comparisons. That's why we use the hypothesis IDs instead.

Definition at line 330 of file Hypothesis.h.


Member Function Documentation

bool Moses::HypothesisRecombinationOrderer::operator() ( const Hypothesis hypoA,
const Hypothesis hypoB 
) const [inline]

Definition at line 333 of file Hypothesis.h.

References Moses::Hypothesis::RecombineCompare().

Here is the call graph for this function:


The documentation for this class was generated from the following file:

Generated on Fri Oct 16 00:34:14 2015 for Moses by  doxygen 1.5.9