]> mj.ucw.cz Git - leo.git/blobdiff - map.cf
Labelling: Evolution parameters can be set in config file
[leo.git] / map.cf
diff --git a/map.cf b/map.cf
index 809f77f50f31db1b66f3a410b38e73bbc5b423d9..145ea6565e6e355c47be8cffc14ff5e9b31acd16 100644 (file)
--- a/map.cf
+++ b/map.cf
@@ -81,3 +81,43 @@ Debug {
        # Dump planning and drawing of symbols
        DumpSymbols 0
 }
+
+Evolution {
+       # Number of individuals in each generation
+       PopSize 50
+
+       # Enhance number of individuals created by elitisc to fit population size
+       FitSize 1
+
+       # Terminating condition
+       # 1 -- penalty reached, 2 -- stagnation, 3 -- iteration limit
+       TermCond 3
+       PenaltyBound 100
+       StagnationBound 10
+       IterationLimit 200
+
+       # Create that part of generation by breeding
+       BreedPopSize 0.45
+       # Use that part of best individuals for parent selection
+       BreedNumBest 0.9
+       # Probability of children mutation
+       MutateChild 0.6
+
+       # Create that part of generation by mutation
+       MutatePopSize 0.45
+       # Use that part of best individuals for individual selection
+       MutateNumBest 0.9
+       # Probability of moving label
+       MutateMoveBound 0.1
+       # Probability of regeneration label coordinates
+       MutateRegenBound 0.05
+       # Probability of changing label variant
+       MutateChvarBound 0.1
+
+       ElitePopSize 0.1
+
+       # Maximal length of line section in milimeters
+       MaxSectionLenght 80
+       # Section's length may exceed limit by at most [mm]
+       MaxSectionOverlay 10
+}