Changeset 12420 for branches/SymbolicExpressionTreeEncoding/HeuristicLab.Problems.GrammaticalEvolution/3.3/Mappers/RandomMapper.cs
- Timestamp:
- 06/10/15 10:49:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SymbolicExpressionTreeEncoding/HeuristicLab.Problems.GrammaticalEvolution/3.3/Mappers/RandomMapper.cs
r12012 r12420 29 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 using HeuristicLab.Random; 31 32 32 33 namespace HeuristicLab.Problems.GrammaticalEvolution { … … 102 103 } else { 103 104 // similar to PIGEMapper, but here the current node is determined randomly ... 104 ISymbolicExpressionTreeNode current = nonTerminals.S electRandom(random);105 ISymbolicExpressionTreeNode current = nonTerminals.SampleRandom(random); 105 106 nonTerminals.Remove(current); 106 107
Note: See TracChangeset
for help on using the changeset viewer.