#include <Cassiopee.h>
Cassiopee indexer
Index an input file
CassieIndexer::CassieIndexer |
( |
const char * |
path | ) |
|
Main contructor
- Parameters
-
path | Path to the sequence file, sequence must be a one-line sequence. |
void CassieIndexer::filltree |
( |
long |
pos | ) |
|
Fills suffix tree with input suffix
- Parameters
-
pos | Position of suffix in sequence |
char CassieIndexer::getCharAtSuffix |
( |
long |
pos | ) |
|
Get char from suffix located at position pos.
string CassieIndexer::getSuffix |
( |
long |
pos | ) |
|
Get the suffix content from a position
- Parameters
-
- Returns
- the suffix string
tree< TreeNode > * CassieIndexer::getTree |
( |
| ) |
|
Get the tree matching the indexed sequence
void CassieIndexer::graph |
( |
| ) |
|
Generates a dot file representing the tree.
void CassieIndexer::graph |
( |
int |
depth | ) |
|
Generates a dot file representing the tree up to depth
- Parameters
-
void CassieIndexer::index |
( |
| ) |
|
Launch the indexation of the input sequence
bool CassieIndexer::index_loaded_from_file |
( |
| ) |
|
Checks if index has been loaded from a saved index or if index has been build dynamically
void CassieIndexer::load |
( |
| ) |
|
void CassieIndexer::save |
( |
| ) |
|
bool CassieIndexer::do_reduction |
list<Match> CassieIndexer::matches |
List of positions in original sequence matching the search
long CassieIndexer::max_depth |
long CassieIndexer::max_index_depth |
Max depth to index, can limit index size if pattern to search are known of a maximum size
The documentation for this class was generated from the following files: