Moses::AlignmentConstraint Class Reference

#include <AlignmentConstraint.h>

List of all members.

Public Member Functions

 AlignmentConstraint ()
 AlignmentConstraint (int min, int max)
void Update (int point)
bool IsSet () const
int GetMin () const
int GetMax () const


Detailed Description

Helper class for storing alignment constraints.

Definition at line 9 of file AlignmentConstraint.h.


Constructor & Destructor Documentation

Moses::AlignmentConstraint::AlignmentConstraint (  )  [inline]

Definition at line 12 of file AlignmentConstraint.h.

Moses::AlignmentConstraint::AlignmentConstraint ( int  min,
int  max 
) [inline]

Definition at line 14 of file AlignmentConstraint.h.


Member Function Documentation

int Moses::AlignmentConstraint::GetMax (  )  const [inline]

Definition at line 32 of file AlignmentConstraint.h.

int Moses::AlignmentConstraint::GetMin (  )  const [inline]

Definition at line 28 of file AlignmentConstraint.h.

bool Moses::AlignmentConstraint::IsSet (  )  const [inline]

Definition at line 24 of file AlignmentConstraint.h.

void Moses::AlignmentConstraint::Update ( int  point  )  [inline]

We are aligned to point => our min cannot be larger, our max cannot be smaller.

Definition at line 19 of file AlignmentConstraint.h.


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

Generated on Thu Jul 6 00:33:13 2017 for Moses by  doxygen 1.5.9