- Timestamp:
- 03/16/11 14:47:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs
r5686 r5712 105 105 } 106 106 public IValueParameter<IntValue> MaxExpressionLengthParameter { 107 get { return (IValueParameter<IntValue>)Parameters["Max ExpressionLength"]; }107 get { return (IValueParameter<IntValue>)Parameters["MaximumExpressionLength"]; } 108 108 } 109 109 public IValueParameter<IntValue> MaxExpressionDepthParameter { 110 get { return (IValueParameter<IntValue>)Parameters["Max ExpressionDepth"]; }110 get { return (IValueParameter<IntValue>)Parameters["MaximumExpressionDepth"]; } 111 111 } 112 112 public IValueParameter<IntValue> MaxFunctionDefinitionsParameter { 113 get { return (IValueParameter<IntValue>)Parameters["Max FunctionDefinitions"]; }113 get { return (IValueParameter<IntValue>)Parameters["MaximumFunctionDefinitions"]; } 114 114 } 115 115 public IValueParameter<IntValue> MaxFunctionArgumentsParameter { 116 get { return (ValueParameter<IntValue>)Parameters["Max FunctionArguments"]; }116 get { return (ValueParameter<IntValue>)Parameters["MaximumFunctionArguments"]; } 117 117 } 118 118 public IValueParameter<BoolMatrix> WorldParameter { … … 120 120 } 121 121 public IValueParameter<IntValue> MaxTimeStepsParameter { 122 get { return (IValueParameter<IntValue>)Parameters["Max TimeSteps"]; }122 get { return (IValueParameter<IntValue>)Parameters["MaximumTimeSteps"]; } 123 123 } 124 124 … … 215 215 Parameters.Add(new ValueParameter<Evaluator>("Evaluator", "The operator which should be used to evaluate artificial ant solutions.", evaluator)); 216 216 Parameters.Add(new ValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this artificial ant instance.", new DoubleValue(89))); 217 Parameters.Add(new ValueParameter<IntValue>("Max ExpressionLength", "Maximal length of the expression to control the artificial ant.", new IntValue(100)));218 Parameters.Add(new ValueParameter<IntValue>("Max ExpressionDepth", "Maximal depth of the expression to control the artificial ant.", new IntValue(10)));219 Parameters.Add(new ValueParameter<IntValue>("Max FunctionDefinitions", "Maximal number of automatically defined functions in the expression to control the artificial ant.", new IntValue(3)));220 Parameters.Add(new ValueParameter<IntValue>("Max FunctionArguments", "Maximal number of arguments of automatically defined functions in the expression to control the artificial ant.", new IntValue(3)));217 Parameters.Add(new ValueParameter<IntValue>("MaximumExpressionLength", "Maximal length of the expression to control the artificial ant.", new IntValue(100))); 218 Parameters.Add(new ValueParameter<IntValue>("MaximumExpressionDepth", "Maximal depth of the expression to control the artificial ant.", new IntValue(10))); 219 Parameters.Add(new ValueParameter<IntValue>("MaximumFunctionDefinitions", "Maximal number of automatically defined functions in the expression to control the artificial ant.", new IntValue(3))); 220 Parameters.Add(new ValueParameter<IntValue>("MaximumFunctionArguments", "Maximal number of arguments of automatically defined functions in the expression to control the artificial ant.", new IntValue(3))); 221 221 Parameters.Add(new ValueParameter<ISymbolicExpressionGrammar>("ArtificialAntExpressionGrammar", "The grammar that should be used for artificial ant expressions.", new ArtificialAntExpressionGrammar())); 222 222 Parameters.Add(new ValueParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.", world)); 223 Parameters.Add(new ValueParameter<IntValue>("Max TimeSteps", "The number of time steps the artificial ant has available to collect all food items.", new IntValue(600)));223 Parameters.Add(new ValueParameter<IntValue>("MaximumTimeSteps", "The number of time steps the artificial ant has available to collect all food items.", new IntValue(600))); 224 224 225 225 creator.SymbolicExpressionTreeParameter.ActualName = "AntTrailSolution";
Note: See TracChangeset
for help on using the changeset viewer.