Moses::Constraint Class Reference

#include <VW.h>

List of all members.

Public Member Functions

 Constraint ()
 Constraint (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 32 of file VW.h.


Constructor & Destructor Documentation

Moses::Constraint::Constraint (  )  [inline]

Definition at line 35 of file VW.h.

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

Definition at line 37 of file VW.h.


Member Function Documentation

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

Definition at line 55 of file VW.h.

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

Definition at line 51 of file VW.h.

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

Definition at line 47 of file VW.h.

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

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

Definition at line 42 of file VW.h.


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

Generated on Tue Jun 7 00:32:08 2016 for Moses by  doxygen 1.5.9