TERCpp::terShift Class Reference

#include <terShift.h>

List of all members.

Public Member Functions

 terShift ()
 terShift (int _start, int _end, int _moveto, int _newloc)
 terShift (int _start, int _end, int _moveto, int _newloc, vector< string > _shifted)
string toString ()
int distance ()
bool leftShift ()
int size ()

Public Attributes

int start
int end
int moveto
int newloc
vector< string > shifted
vector< char > alignment
vector< string > aftershift
double cost


Detailed Description

Definition at line 15 of file terShift.h.


Constructor & Destructor Documentation

TERCpp::terShift::terShift (  ) 

Definition at line 25 of file terShift.cpp.

References cost, end, moveto, newloc, and start.

TERCpp::terShift::terShift ( int  _start,
int  _end,
int  _moveto,
int  _newloc 
)

Definition at line 33 of file terShift.cpp.

References cost, end, moveto, newloc, and start.

TERCpp::terShift::terShift ( int  _start,
int  _end,
int  _moveto,
int  _newloc,
vector< string >  _shifted 
)

Definition at line 42 of file terShift.cpp.

References cost, end, moveto, newloc, shifted, and start.


Member Function Documentation

int TERCpp::terShift::distance (  ) 

Definition at line 73 of file terShift.cpp.

References end, moveto, and start.

bool TERCpp::terShift::leftShift (  ) 

Definition at line 84 of file terShift.cpp.

References moveto, and start.

int TERCpp::terShift::size (  ) 

Definition at line 89 of file terShift.cpp.

References end, and start.

string TERCpp::terShift::toString (  ) 

Definition at line 61 of file terShift.cpp.

References end, moveto, newloc, shifted, start, and Tools::vectorToString().

Referenced by TERCpp::terCalc::CalcBestShift().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 36 of file terShift.h.

Referenced by TERCpp::terCalc::TER().

Definition at line 35 of file terShift.h.

Referenced by TERCpp::terCalc::TER().

Definition at line 31 of file terShift.h.

Referenced by distance(), TERCpp::terCalc::PerformShift(), size(), terShift(), and toString().

Definition at line 32 of file terShift.h.

Referenced by distance(), leftShift(), terShift(), and toString().

Definition at line 33 of file terShift.h.

Referenced by TERCpp::terCalc::PerformShift(), terShift(), and toString().

vector<string> TERCpp::terShift::shifted

Definition at line 34 of file terShift.h.

Referenced by TERCpp::terCalc::GatherAllPossShifts(), terShift(), and toString().

Definition at line 30 of file terShift.h.

Referenced by distance(), leftShift(), TERCpp::terCalc::PerformShift(), size(), terShift(), and toString().


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

Generated on Thu Jun 4 00:33:18 2015 for Moses by  doxygen 1.5.9