PhrasePair Struct Reference

Collaboration diagram for PhrasePair:

Collaboration graph
[legend]

List of all members.

Classes

struct  stats_t

Public Member Functions

 PhrasePair (ushort s1_=0, ushort e1_=0, ushort s2_=0, ushort e2_=0)
bool operator< (PhrasePair const &other) const
size_t len1 () const
size_t len2 () const
bool includes (PhrasePair const &o) const

Public Attributes

uint64_t p1
uint64_t p2
ushort s1
ushort e1
ushort s2
ushort e2
int parent
struct PhrasePair::stats_t stats


Detailed Description

Definition at line 66 of file try-align.cc.


Constructor & Destructor Documentation

PhrasePair::PhrasePair ( ushort  s1_ = 0,
ushort  e1_ = 0,
ushort  s2_ = 0,
ushort  e2_ = 0 
) [inline]

Definition at line 118 of file try-align.cc.


Member Function Documentation

bool PhrasePair::includes ( PhrasePair const &  o  )  const [inline]

Definition at line 132 of file try-align.cc.

References e1, e2, s1, and s2.

size_t PhrasePair::len1 (  )  const [inline]

Definition at line 130 of file try-align.cc.

References e1, and s1.

size_t PhrasePair::len2 (  )  const [inline]

Definition at line 131 of file try-align.cc.

References e2, and s2.

bool PhrasePair::operator< ( PhrasePair const &  other  )  const [inline]

Definition at line 123 of file try-align.cc.

References e1, e2, s1, s2, PhrasePair::stats_t::score, and stats.


Member Data Documentation

Definition at line 70 of file try-align.cc.

Referenced by includes(), len1(), and operator<().

Definition at line 70 of file try-align.cc.

Referenced by includes(), len2(), and operator<().

uint64_t PhrasePair::p1

Definition at line 68 of file try-align.cc.

uint64_t PhrasePair::p2

Definition at line 68 of file try-align.cc.

Definition at line 71 of file try-align.cc.

Definition at line 70 of file try-align.cc.

Referenced by includes(), len1(), and operator<().

Definition at line 70 of file try-align.cc.

Referenced by includes(), len2(), and operator<().

Referenced by operator<().


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

Generated on Sun Aug 9 00:31:57 2015 for Moses by  doxygen 1.5.9