![]() |
Version 4.1.5 |
#include <seqpp/Partition.h>
Public Member Functions | |
Partition () | |
empty constructor | |
Partition (short alphabet_size) | |
constructor with integrated creation of the set of partitions | |
Partition (const Translator &alphabet, const string &pfile) | |
Constructor from a file containing the partitions or the list of synonymous tokens. | |
Partition (const Partition &part) | |
copy constructor | |
~Partition () | |
destructor | |
Partition & | operator= (Partition &part) |
oeprator = | |
const vector< vector< short > > & | list_possible_elements () |
initialize the list_possible_elements of possible tokens'subset in a partition and return it | |
const vector< vector< short > > & | synonymous () const |
returns the synonymous list | |
const vector< int > & | nbpartition_with_nbelement () const |
return the number of partition per number of elements | |
const vector< int > & | compute_nbpartition_with_nbelement () |
compute and return the number of partition per number of elements, if no cutoff method previously called | |
long | tell_nbposs () const |
returns the number of possible tokens'subset in a partition | |
short | tell_size () const |
returns the size of the space to partition | |
bool | create_default () |
create the default motif if it not exists | |
int | motifdefault () const |
return the index of the default motif | |
bool | motifdefault_skip () const |
true if the default motif is added to _list_possib at the end, false if it already exists | |
long | tell_cardinal () const |
cardinal of the partition | |
const_iterator | begin () const |
first possibility of the partition | |
const_iterator | end () const |
end of list of possibilities (not a possibility) |
Let a partition of an alphabet be a set of tokens'subset, i.e. a division of the alphabet into subset. The Partition object gives 2 possibilities:
#Synonymous
a t
g c
#Partition
a | g | c | t
a g | c | t
a c t | g
|
constructor with integrated creation of the set of partitions
|
|
Constructor from a file containing the partitions or the list of synonymous tokens.
|
Download seq++ 4.1.5 |
Download previous versions |
Statistique & Genome Home |
Contributors : M.Baudry, P.Y.Bourguignon, M.Hoebeke, V.Miele, P.Nicolas, G.Nuel, H.Richard, D.Robelin |