Changeset 9249 for branches/HeuristicLab.EvolutionaryTracking
- Timestamp:
- 02/27/13 13:24:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisExpressionTreeMatching.cs
r9241 r9249 4 4 using HeuristicLab.Common; 5 5 using HeuristicLab.Core; 6 using HeuristicLab.Data; 6 7 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 7 8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 24 25 // more flexible matching criteria 25 26 [Storable] 26 private boolmatchConstantValues;27 private BoolValue matchConstantValues; 27 28 public bool MatchConstantValues { 28 get { return matchConstantValues ; }29 set { matchConstantValues = value; }29 get { return matchConstantValues.Value; } 30 set { matchConstantValues.Value = value; } 30 31 } 31 32 32 33 [Storable] 33 private boolmatchVariableNames;34 private BoolValue matchVariableNames; 34 35 public bool MatchVariableNames { 35 get { return matchVariableNames ; }36 set { matchVariableNames = value; }36 get { return matchVariableNames.Value; } 37 set { matchVariableNames.Value = value; } 37 38 } 38 39 39 40 [Storable] 40 private boolmatchVariableWeights;41 private BoolValue matchVariableWeights; 41 42 public bool MatchVariableWeights { 42 get { return matchVariableWeights ; }43 set { matchVariableWeights = value; }43 get { return matchVariableWeights.Value; } 44 set { matchVariableWeights.Value = value; } 44 45 } 45 46 … … 49 50 50 51 public SymbolicExpressionTreeNodeSimilarityComparer() { 51 matchConstantValues = true;52 matchVariableNames = true;53 matchVariableWeights = true;52 matchConstantValues = new BoolValue(true); 53 matchVariableNames = new BoolValue(true); 54 matchVariableWeights = new BoolValue(true); 54 55 } 55 56
Note: See TracChangeset
for help on using the changeset viewer.