#include <terShift.h>
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 |
Definition at line 15 of file terShift.h.
TERCpp::terShift::terShift | ( | ) |
TERCpp::terShift::terShift | ( | int | _start, | |
int | _end, | |||
int | _moveto, | |||
int | _newloc | |||
) |
TERCpp::terShift::terShift | ( | int | _start, | |
int | _end, | |||
int | _moveto, | |||
int | _newloc, | |||
vector< string > | _shifted | |||
) |
int TERCpp::terShift::distance | ( | ) |
bool TERCpp::terShift::leftShift | ( | ) |
int TERCpp::terShift::size | ( | ) |
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().
vector<string> TERCpp::terShift::aftershift |
vector<char> TERCpp::terShift::alignment |
double TERCpp::terShift::cost |
Definition at line 39 of file terShift.h.
Referenced by TERCpp::terCalc::CalcBestShift(), TERCpp::terCalc::GatherAllPossShifts(), TERCpp::terCalc::TER(), and terShift().
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().