|
ElfPSP_AntColony
Protein Structure Prediction using Ant Colony Optimization
|
Reads the configuration file (eg configuration.yml) and stores the configuration parameters as internal variables. More...
#include <config.h>
Static Private Attributes | |
| static const char * | sFilename = "configuration.yml" |
| Name of the configuration file. More... | |
| std::string | dHPChain |
| See getters. More... | |
| int | dCycles |
| See getters. More... | |
| int | dNAnts |
| See getters. More... | |
| double | dAcoAlpha |
| See getters. More... | |
| double | dAcoBeta |
| See getters. More... | |
| double | dAcoEvaporation |
| See getters. More... | |
| int | dLSFrequency |
| See getters. More... | |
| int | dExchangedAnts |
| See getters. More... | |
| int | dRandSeed |
| See getters. More... | |
| std::string | dFilename |
| See getters. More... | |
| Config () | |
| The configuration file is read upon construction. More... | |
| const std::string & | hp_chain () const |
| HP chain of the protein to be predicted. More... | |
| int | cycles () const |
| Number of cycles that the ant colony must perform. More... | |
| int | n_ants () const |
| Number of ants in the colony. More... | |
| double | aco_alpha () const |
| Parameter alpha of the ACO probability calculation formula. More... | |
| double | aco_beta () const |
| Parameter beta of the ACO probability calculation formula. More... | |
| double | aco_evaporation () const |
| Evaporation rate of pheromones. More... | |
| int | ls_frequency () const |
| Local search frequency. More... | |
| int | exchanged_ants () const |
| Number of ants that MPI nodes should exchange at every cycle. More... | |
| int | random_seed () const |
| Random seed defined by the user. More... | |
| const std::string & | filename () const |
| Output filename for structural information of the protein. More... | |
| void | set_hp_chain (std::string chain) |
| See getters. More... | |
| void | set_cycles (int cycles) |
| See getters. More... | |
| void | set_nants (int nants) |
| See getters. More... | |
Reads the configuration file (eg configuration.yml) and stores the configuration parameters as internal variables.
| Config::Config | ( | ) |
The configuration file is read upon construction.
|
inline |
Parameter alpha of the ACO probability calculation formula.
|
inline |
Parameter beta of the ACO probability calculation formula.
|
inline |
Evaporation rate of pheromones.
|
inline |
Number of cycles that the ant colony must perform.
|
inline |
Number of ants that MPI nodes should exchange at every cycle.
|
inline |
Output filename for structural information of the protein.
|
inline |
HP chain of the protein to be predicted.
|
inline |
Local search frequency.
|
inline |
Number of ants in the colony.
|
inline |
Random seed defined by the user.
If the user-provided seed is negative, that means we should take a random seed, such as time(NULL).
|
inline |
See getters.
|
inline |
See getters.
|
inline |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
private |
See getters.
|
staticprivate |
Name of the configuration file.
1.8.13