|
INGOR
|
Greedy Hill-Climbing algorithm. More...
#include <algo/Greedy.h>
Public Member Functions | |
| ytNetwork * | Greedy_exec (Args *args) |
| Executes the HC algorithm. | |
| double | Greedy_trials (Args *args, GreedyWork *work, ytPCGraph *best_g) |
| Performs the HC algorithm GreedyWork::trials times. | |
| GreedyWork * | GreedyWork_new (Args *args) |
| Creates and initializes a new GreedyWork instance. | |
Greedy Hill-Climbing algorithm.
See Greedy Hill-Climbing Algorithm for the usage of the algorithm.
| double Greedy_trials | ( | Args * | args, |
| GreedyWork * | work, | ||
| ytPCGraph * | best_g | ||
| ) |
Performs the HC algorithm GreedyWork::trials times.
| args | |
| work | |
| best_g |
| GreedyWork * GreedyWork_new | ( | Args * | args | ) |
Creates and initializes a new GreedyWork instance.
This refers to Args::data, Args::algoArgs, and Args::verbose.
| args | Arguments for the algorithm is given by Args::algoArgs field. |