![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
The solution space for the Maximum Spanning tree algorithm.
More...
#include <Solution_space_property_computers.hpp>
Attributes | |
| unsigned | K |
| The number of meta-clusters. More... | |
| unsigned | D |
| The diameter of the solution (by parameter) More... | |
| int | score |
| The score of the solution. More... | |
| std::vector< unsigned > | meta_cluster_sizes |
| The sizes of each individual meta cluster. More... | |
Constructors | |
| D_Solution () | |
| The individual D_Solution is always initialized with a score = -1. More... | |
| D_Solution (unsigned K, unsigned D, int score, std::vector< unsigned > meta_cluster_sizes) | |
| Initialization from given parameters. More... | |
Operator | |
| bool | operator< (const D_Solution &sol) const |
| unsigned | get_num_meta_clusters () |
Internal functions | |
| void | update_solution (unsigned K, unsigned D, int score, std::vector< unsigned > sizes) |
| This function is needed for the cases where the solution space is a unique D solution. More... | |
Serialization | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned BOOST_PFTO int version) |
The solution space for the Maximum Spanning tree algorithm.
|
inline |
The individual D_Solution is always initialized with a score = -1.
|
inline |
Initialization from given parameters.
|
inline |
This function is needed for the cases where the solution space is a unique D solution.
| unsigned D |
The diameter of the solution (by parameter)
| unsigned K |
The number of meta-clusters.
| std::vector<unsigned> meta_cluster_sizes |
The sizes of each individual meta cluster.
| int score |
The score of the solution.