Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/11 14:47:32 (14 years ago)
Author:
mkommend
Message:

#1418: Fixed persistence of SymbolicExpressionGrammars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs

    r5686 r5712  
    105105    }
    106106    public IValueParameter<IntValue> MaxExpressionLengthParameter {
    107       get { return (IValueParameter<IntValue>)Parameters["MaxExpressionLength"]; }
     107      get { return (IValueParameter<IntValue>)Parameters["MaximumExpressionLength"]; }
    108108    }
    109109    public IValueParameter<IntValue> MaxExpressionDepthParameter {
    110       get { return (IValueParameter<IntValue>)Parameters["MaxExpressionDepth"]; }
     110      get { return (IValueParameter<IntValue>)Parameters["MaximumExpressionDepth"]; }
    111111    }
    112112    public IValueParameter<IntValue> MaxFunctionDefinitionsParameter {
    113       get { return (IValueParameter<IntValue>)Parameters["MaxFunctionDefinitions"]; }
     113      get { return (IValueParameter<IntValue>)Parameters["MaximumFunctionDefinitions"]; }
    114114    }
    115115    public IValueParameter<IntValue> MaxFunctionArgumentsParameter {
    116       get { return (ValueParameter<IntValue>)Parameters["MaxFunctionArguments"]; }
     116      get { return (ValueParameter<IntValue>)Parameters["MaximumFunctionArguments"]; }
    117117    }
    118118    public IValueParameter<BoolMatrix> WorldParameter {
     
    120120    }
    121121    public IValueParameter<IntValue> MaxTimeStepsParameter {
    122       get { return (IValueParameter<IntValue>)Parameters["MaxTimeSteps"]; }
     122      get { return (IValueParameter<IntValue>)Parameters["MaximumTimeSteps"]; }
    123123    }
    124124
     
    215215      Parameters.Add(new ValueParameter<Evaluator>("Evaluator", "The operator which should be used to evaluate artificial ant solutions.", evaluator));
    216216      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>("MaxExpressionLength", "Maximal length of the expression to control the artificial ant.", new IntValue(100)));
    218       Parameters.Add(new ValueParameter<IntValue>("MaxExpressionDepth", "Maximal depth of the expression to control the artificial ant.", new IntValue(10)));
    219       Parameters.Add(new ValueParameter<IntValue>("MaxFunctionDefinitions", "Maximal number of automatically defined functions in the expression to control the artificial ant.", new IntValue(3)));
    220       Parameters.Add(new ValueParameter<IntValue>("MaxFunctionArguments", "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)));
    221221      Parameters.Add(new ValueParameter<ISymbolicExpressionGrammar>("ArtificialAntExpressionGrammar", "The grammar that should be used for artificial ant expressions.", new ArtificialAntExpressionGrammar()));
    222222      Parameters.Add(new ValueParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.", world));
    223       Parameters.Add(new ValueParameter<IntValue>("MaxTimeSteps", "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)));
    224224
    225225      creator.SymbolicExpressionTreeParameter.ActualName = "AntTrailSolution";
Note: See TracChangeset for help on using the changeset viewer.