/* * ungapped_extension.h * * Created on: 2016/8/31 * Author: Tsukasa Fukunaga */ #ifndef UNGAPPED_EXTENSION_H #define UNGAPPED_EXTENSION_H #include "hit.h" #include using namespace std; class UngappedExtension { public: UngappedExtension(int a, int x){ _min_accessible_length = a; _drop_out_score = x; } void Run(vector &candidate, vector &query_seq, vector &db_seq, vector &query_accessibility, vector &query_conditional_accessibility, vector > &db_accessibility,vector > &db_conditional_accessibility); private: int _min_accessible_length; int _drop_out_score; double LoopEnergy(int type, int type2,int i,int j,int p,int q, vector &query_seq, vector &db_seq); }; #endif