|
MASA-Core
|
00001 /******************************************************************************* 00002 * 00003 * Copyright (c) 2010-2015 Edans Sandes 00004 * 00005 * This file is part of MASA-Core. 00006 * 00007 * MASA-Core is free software: you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation, either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * MASA-Core is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with MASA-Core. If not, see <http://www.gnu.org/licenses/>. 00019 * 00020 ******************************************************************************/ 00021 00022 class BlockPruningDiagonal; 00023 00024 #ifndef BLOCKPRUNERDIAGONAL_HPP_ 00025 #define BLOCKPRUNERDIAGONAL_HPP_ 00026 00027 #include "AbstractBlockPruning.hpp" 00028 00029 class BlockPruningDiagonal : public AbstractBlockPruning { 00030 public: 00031 virtual ~BlockPruningDiagonal(); 00032 BlockPruningDiagonal(); 00033 00034 virtual void initialize(); 00035 virtual void finalize(); 00036 00037 void updatePruningWindow(int diagonal, const score_t* block_scores); 00038 void getNonPrunableWindow(int* start, int* end); 00039 00040 // void setBlockHeight(int blockHeight); 00041 // void setBlockWidth(int blockWidth); 00042 // 00043 // void setBlockSplitHorizontal(int count, const int* splits); 00044 // void setBlockSplitVertical(int count, const int* splits); 00045 // 00046 // void initializePrunableWindows(); 00047 00048 private: 00049 // const score_params_t* score_params; 00050 00051 // int seq0_len; 00052 // int seq1_len; 00053 // 00054 // int bestScore; 00055 // 00056 // int blockWidth; 00057 // int blockHeight; 00058 // int blockCountHorizontal; 00059 // const int* blockSplitHorizontal; 00060 // int blockCountVertical; 00061 // const int* blockSplitVertical; 00062 00063 int windowStart; 00064 int windowEnd; 00065 00066 //int updateBestScore(const score_t* block_scores); 00067 //int isBlockPrunable(const int bx, const int by, score_t block_score, int best_score); 00068 //void getBlockPosition(int bx, int by, int* row, int* column); 00069 }; 00070 00071 #endif /* BLOCKPRUNERDIAGONAL_HPP_ */
1.7.6.1