![]() |
Version 4.0.0 |
#include <seqpp/Partition.h>
Public Member Functions | |
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. | |
virtual | ~Partition () |
destructor | |
const vector< vector< short > > & | list_possible_elements () |
initialize the list_possible_elements of possible tokens'subset in a partition and return it | |
long | tell_nbposs () const |
returns the number of possible tokens'subset in a partition | |
const vector< vector< short > > & | get_synonymous () const |
returns the synonymous list | |
short | tell_size () const |
returns the size of the space to partition |
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.0.0 |
Download previous versions |
Statistique & Genome Home |
Contributors : M.Baudry, P.Y.Bourguignon, M.Hoebeke, V.Miele, P.Nicolas, G.Nuel, H.Richard, D.Robelin |