Changeset 1869 for trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Timestamp:
- 05/20/09 12:52:52 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/DispatcherBase.cs
r1857 r1869 40 40 public abstract class DispatcherBase : IDispatcher { 41 41 private IStore store; 42 43 private static int MaxGenerations {44 get { return 3; }45 }46 47 private static int MaxEvaluatedSolutions {48 get { return 3000; }49 }50 51 42 public DispatcherBase(IStore store) { 52 43 this.store = store; … … 88 79 89 80 private Execution CreateExecution(Problem problem, int targetVariable, IAlgorithm algorithm) { 90 //switch (algorithm) {91 // case Algorithm.StandardGpRegression: {92 // var algo = new HeuristicLab.GP.StructureIdentification.StandardGP();93 // SetComplexityParameters(algo, complexity);94 // SetProblemParameters(algo, problem, targetVariable);95 // algo.PopulationSize = 10000;96 // algo.MaxGenerations = MaxGenerations;97 // Execution exec = new Execution(algo.Engine);98 // exec.Description = "StandardGP - Complexity: " + complexity;99 // return exec;100 // }101 81 SetProblemParameters(algorithm, problem, targetVariable); 102 82 Execution exec = new Execution(algorithm.Engine);
Note: See TracChangeset
for help on using the changeset viewer.