Changeset 14832 for trunk/sources/HeuristicLab.Tests
- Timestamp:
- 04/06/17 11:55:23 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicClassificationSampleTest.cs
r14185 r14832 100 100 grammar.ConfigureAsDefaultClassificationGrammar(); 101 101 grammar.Symbols.OfType<VariableCondition>().Single().Enabled = false; 102 var varSymbol = grammar.Symbols.OfType<Variable>().Where(x => !(x is LaggedVariable)).Single(); 102 foreach (var varSy in grammar.Symbols.OfType<VariableBase>()) varSy.VariableChangeProbability = 1.0; // for backwards compatibilty 103 var varSymbol = grammar.Symbols.OfType<Variable>().Single(); 103 104 varSymbol.WeightMu = 1.0; 104 105 varSymbol.WeightSigma = 1.0; -
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPSymbolicRegressionSampleTest.cs
r14185 r14832 101 101 grammar.ConfigureAsDefaultRegressionGrammar(); 102 102 grammar.Symbols.OfType<VariableCondition>().Single().InitialFrequency = 0.0; 103 var varSymbol = grammar.Symbols.OfType<Variable>().Where(x => !(x is LaggedVariable)).Single(); 103 foreach (var varSy in grammar.Symbols.OfType<VariableBase>()) varSy.VariableChangeProbability = 1.0; // for backwards compatibilty 104 var varSymbol = grammar.Symbols.OfType<Variable>().Single(); 104 105 varSymbol.WeightMu = 1.0; 105 106 varSymbol.WeightSigma = 1.0; -
trunk/sources/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs
r14529 r14832 74 74 autoRegressiveSymbol.MaxLag = -1; 75 75 } 76 if (symbol is VariableBase) { 77 var varSy = symbol as VariableBase; 78 varSy.VariableChangeProbability = 1.0; // backwards compatibility 79 } 76 80 } 77 81
Note: See TracChangeset
for help on using the changeset viewer.