Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
Public Member Functions | List of all members
colorlist Class Reference

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

colorlist::colorlist ( int  numbOfKmers)

the complete constructor, which initialize the private vector of Color values list.

Parameters
numbOfKmersan integer which set the size of list
colorlist::colorlist ( )

The standard constructor, which initialize a empty vector of Color values

Member Function Documentation

vector< Color > colorlist::giveList ( )

Method to return the private vector of Color values list

Returns
a vector of different Color values
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.

Parameters
numbOfKmeran integer which set the size of list

The documentation for this class was generated from the following files: