Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
|
This Class stores a List of well-distinguishable Colors. (Color Values) More...
#include <colorlist.h>
Public Member Functions | |
colorlist (int numbOfKmers) | |
colorlist () | |
void | updateList (int numbOfKmers) |
std::vector< sf::Color > | giveList () |
This Class stores a List of well-distinguishable Colors. (Color Values)
the Class stores 1 variable: list, which is a vector with different Color Values. you can initialize a "colorlist" with an integer k. (See constructors) Also there are update methods, to initialize variables after the constructor call.
colorlist::colorlist | ( | int | numbOfKmers | ) |
the complete constructor, which initialize the private vector of Color values list.
numbOfKmers | an integer which set the size of list |
colorlist::colorlist | ( | ) |
The standard constructor, which initialize a empty vector of Color values
vector< Color > colorlist::giveList | ( | ) |
Method to return the private vector of Color values list
void colorlist::updateList | ( | int | numbOfKmers | ) |
this Method will create a vector of different Color values. the first 13 colors are hard coded with some values out of the web and the next possible colors are generated by an algorithm.
numbOfKmer | an integer which set the size of list |