|
| int | totnumparams |
| | Total number of parameters in the optimization problem.
|
| |
| int | maxpop = 2 |
| | Maximum population size (number of individuals)
|
| |
| int | nParam |
| | Number of parameters (may be subset of totnumparams)
|
| |
| int | numenhancements |
| | Number of enhancement iterations.
|
| |
| int | num_enh |
| | Current enhancement iteration counter.
|
| |
| int | nGen |
| | Number of generations to evolve.
|
| |
| int | cross_over_type |
| | Crossover operator type.
|
| |
| int | no_bins |
| | Number of bins for fitness distribution.
|
| |
| bool | sens_out = false |
| | Output sensitivity analysis results.
|
| |
| bool | RCGA = false |
| | Use Real-Coded Genetic Algorithm.
|
| |
| bool | readfromgafile |
| | Read initial population from file.
|
| |
| bool | Steepest_Descent = false |
| | Apply steepest descent local search.
|
| |
| double | N |
| | Selection pressure parameter for rank-based selection.
|
| |
| double | pcross = 1 |
| | Crossover probability.
|
| |
| double | pmute = 0.02 |
| | Mutation probability per gene.
|
| |
| double | exponentcoeff = 1 |
| | Exponent coefficient for fitness scaling.
|
| |
| double | shakescale = 0.05 |
| | Scale factor for shake/perturbation operation.
|
| |
| double | shakescalered = 0.75 |
| | Reduction factor for shake scale over generations.
|
| |
| char | fitnesstype |
| | Fitness function type identifier.
|
| |
Configuration parameters for Genetic Algorithm optimization.
Contains all tuning parameters and settings that control the behavior of the genetic algorithm, including population size, genetic operators, and convergence criteria.
Definition at line 26 of file GA.h.
| int GA_Tweaking_parameters::maxpop = 2 |
Maximum population size (number of individuals)
Number of candidate solutions maintained in each generation. Larger populations explore more broadly but require more evaluations.
Typical: 50-200 individuals Default: 2 (likely intended as multiplier, not actual size)
Definition at line 45 of file GA.h.
| int GA_Tweaking_parameters::nGen |
Number of generations to evolve.
Total iterations of selection, crossover, and mutation. More generations allow better convergence but take longer.
Typical: 100-1000 generations
Definition at line 74 of file GA.h.
| double GA_Tweaking_parameters::pmute = 0.02 |
Mutation probability per gene.
Probability that each parameter value is randomly perturbed. Maintains diversity and enables exploration of new regions.
Typical: 0.001-0.01 for binary, 0.01-0.1 for real-coded Default: 0.02 (2%)
Definition at line 167 of file GA.h.
| bool GA_Tweaking_parameters::RCGA = false |
Use Real-Coded Genetic Algorithm.
If true, uses continuous (real-valued) representation and operators. If false, uses binary encoding and operators.
RCGA is generally superior for continuous optimization problems.
Default: false
Definition at line 115 of file GA.h.
| double GA_Tweaking_parameters::shakescale = 0.05 |
Scale factor for shake/perturbation operation.
Controls magnitude of random perturbations in shake operation, specified as fraction of parameter range.
Default: 0.05 (5% of range)
Definition at line 187 of file GA.h.
| double GA_Tweaking_parameters::shakescalered = 0.75 |
Reduction factor for shake scale over generations.
Shake scale is multiplied by this factor each generation to gradually reduce perturbation magnitude (simulated annealing effect).
Default: 0.75 (25% reduction per generation)
Definition at line 197 of file GA.h.