#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 () |
void | set (terShift l_terShift) |
void | set (terShift *l_terShift) |
void | erase () |
Public Attributes | |
int | start |
int | end |
int | moveto |
int | newloc |
vector< string > | shifted |
vector< char > | alignment |
vector< string > | aftershift |
double | cost |
Definition at line 37 of file terShift.h.
TERCPPNS_TERCpp::terShift::terShift | ( | ) |
Definition at line 45 of file terShift.cpp.
References aftershift, alignment, cost, end, moveto, newloc, shifted, and start.
TERCPPNS_TERCpp::terShift::terShift | ( | int | _start, | |
int | _end, | |||
int | _moveto, | |||
int | _newloc | |||
) |
TERCPPNS_TERCpp::terShift::terShift | ( | int | _start, | |
int | _end, | |||
int | _moveto, | |||
int | _newloc, | |||
vector< string > | _shifted | |||
) |
int TERCPPNS_TERCpp::terShift::distance | ( | ) |
void TERCPPNS_TERCpp::terShift::erase | ( | ) |
Definition at line 95 of file terShift.cpp.
References aftershift, alignment, cost, end, moveto, newloc, shifted, and start.
bool TERCPPNS_TERCpp::terShift::leftShift | ( | ) |
void TERCPPNS_TERCpp::terShift::set | ( | terShift * | l_terShift | ) |
void TERCPPNS_TERCpp::terShift::set | ( | terShift | l_terShift | ) |
Definition at line 74 of file terShift.cpp.
References end, moveto, newloc, shifted, and start.
Referenced by TERCPPNS_TERCpp::terCalc::findBestShift(), TERCPPNS_TERCpp::bestShiftStruct::set(), and TERCPPNS_TERCpp::bestShiftStruct::setBestShift().
int TERCPPNS_TERCpp::terShift::size | ( | ) |
string TERCPPNS_TERCpp::terShift::toString | ( | ) |
Definition at line 119 of file terShift.cpp.
References end, moveto, newloc, shifted, start, and TERCPPNS_Tools::vectorToString().
Referenced by TERCPPNS_TERCpp::terCalc::findBestShift(), and TERCPPNS_TERCpp::bestShiftStruct::toString().
vector<string> TERCPPNS_TERCpp::terShift::aftershift |
Definition at line 58 of file terShift.h.
Referenced by erase(), TERCPPNS_TERCpp::terCalc::TER(), and terShift().
vector<char> TERCPPNS_TERCpp::terShift::alignment |
Definition at line 57 of file terShift.h.
Referenced by erase(), TERCPPNS_TERCpp::terCalc::TER(), and terShift().
Definition at line 61 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), erase(), TERCPPNS_TERCpp::terCalc::findBestShift(), TERCPPNS_TERCpp::terCalc::TER(), and terShift().
Definition at line 53 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), distance(), erase(), TERCPPNS_TERCpp::terCalc::permuter(), set(), size(), terShift(), and toString().
Definition at line 54 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), distance(), erase(), leftShift(), set(), terShift(), and toString().
Definition at line 55 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), erase(), TERCPPNS_TERCpp::terCalc::permuter(), set(), terShift(), and toString().
vector<string> TERCPPNS_TERCpp::terShift::shifted |
Definition at line 56 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), erase(), set(), terShift(), and toString().
Definition at line 52 of file terShift.h.
Referenced by TERCPPNS_TERCpp::terCalc::calculerPermutations(), distance(), erase(), leftShift(), TERCPPNS_TERCpp::terCalc::permuter(), set(), size(), terShift(), and toString().