GeneticAlgorithm.cc File Reference

#include "GeneticAlgorithm.h"
#include <utility>
#include <algorithm>

Include dependency graph for GeneticAlgorithm.cc:


Defines

#define RELAXED
 Don't try to optimize each possible permutation of items.

Define Documentation

#define RELAXED

Don't try to optimize each possible permutation of items.

When in RELAXED mode, the DominanceOptimizer will try a single replacement from one, two or three random points (items). Currently, defining RELAXED gives better score (performance and better optimization) in the benchmarks than without defining it.