Moses::Constraint Class Reference
#include <VW.h>
List of all members.
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:
- mosesdecoder/moses/FF/VW/VW.h