Changes between Version 4 and Version 5 of Documentation/Reference/Genetic Programming Crossovers
- Timestamp:
- 01/31/12 10:58:21 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Reference/Genetic Programming Crossovers
v4 v5 8 8 - It selects a compatible subtree in `parent1` (subject to size limits and grammar constraints) 9 9 - It performs the swap and returns the (now different) `parent0` 10 The selection (step 2) above is influenced by a configurable bias towards internal or leaf nodes, given by the InternalCrossoverPointProbability parameter2.10 The selection (step 2) above is influenced by a configurable bias towards internal or leaf nodes, given by the !InternalCrossoverPointProbability parameter2. 11 11 12 12 === 2 Probabilistic functional crossover === … … 17 17 - The behavioral distances between node ''i'' and every node ''j'' from `parent1` are computed using a formula that takes into account the minimum and maximum values computed by the two nodes during evaluation: 18 18 19 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/ 71lyxpreview1.png)]]19 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/01-PFX-behavioral-distance.png)]] 20 20 21 21 - Once all the behavioral distances between node ''i'' and every node ''j'' have been calculated, they are normalized: 22 22 23 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/ 72lyxpreview1.png)]]23 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/02-PFX-normalized-behavioral-distance.png)]] 24 24 25 25 and turned into selection probabilities (weights): 26 26 27 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/ 73lyxpreview1.png)]]27 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/03-PFX-selection-probabilities.png)]] 28 28 29 29 - A node from the second parent is probabilistically chosen and swapped with node ''i'' from the first parent … … 36 36 - The sampling semantic distance (SSD) between two nodes (subtrees) is defined as the absolute mean between their corresponding sampling semantics: 37 37 38 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/ 77lyxpreview1.png)]]38 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/04-SSX-sampling-semantic-distance.png)]] 39 39 40 40 where S1 and S2 are the two subtrees, and ''U'', ''V'' are their respective sampling semantics. 41 41 - Two nodes are deemed similar if their SSD falls within a predefined interval [alfa,beta]: 42 42 43 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/ 83lyxpreview1.png)]]43 [[Image(http://dev.heuristiclab.com/trac/hl/core/raw-attachment/wiki/Crossovers/05-SSX-similarity-condition.png)]] 44 44 45 45 The crossover procedure chooses a crossover point from `parent0`, then picks the first node in `parent1` that satisfies the similarity condition (5). … … 58 58 59 59 === 6 Depth-constrained crossover === 60 The depth-constrained crossover only acts within a specific depth range, in accordance with the DepthRange parameter that can take three values (for a tree of depth ''d'')61 - HighLevel (acting on the upper tree levels between 0 and 0.25*d )60 The depth-constrained crossover only acts within a specific depth range, in accordance with the !DepthRange parameter that can take three values (for a tree of depth ''d'') 61 - !HighLevel (acting on the upper tree levels between 0 and 0.25*d ) 62 62 - Standard (acting on the mid-area of the tree between depth levels 0.25*d and 0.57*d ) 63 - LowLevel (acting on the lower levels between 0.75*d and d)63 - !LowLevel (acting on the lower levels between 0.75*d and d) 64 64 65 65 === References ===