PhrasePair2 Struct Reference

Collaboration diagram for PhrasePair2:

Collaboration graph
[legend]

List of all members.

Classes

struct  stats_t

Public Member Functions

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

Public Attributes

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


Detailed Description

Definition at line 79 of file try-align2.cc.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Definition at line 145 of file try-align2.cc.

References e1, e2, s1, and s2.

size_t PhrasePair2::len1 (  )  const [inline]

Definition at line 143 of file try-align2.cc.

References e1, and s1.

size_t PhrasePair2::len2 (  )  const [inline]

Definition at line 144 of file try-align2.cc.

References e2, and s2.

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

Definition at line 136 of file try-align2.cc.

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


Member Data Documentation

Definition at line 83 of file try-align2.cc.

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

Definition at line 83 of file try-align2.cc.

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

uint64_t PhrasePair2::p1

Definition at line 81 of file try-align2.cc.

uint64_t PhrasePair2::p2

Definition at line 81 of file try-align2.cc.

Definition at line 84 of file try-align2.cc.

Definition at line 83 of file try-align2.cc.

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

Definition at line 83 of file try-align2.cc.

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

Referenced by operator<().


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

Generated on Thu Jul 6 00:31:56 2017 for Moses by  doxygen 1.5.9