Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/15 13:10:24 (10 years ago)
Author:
mkommend
Message:

#2174: Renamed scriptable to programmable problem.

Location:
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3
Files:
5 edited
2 moved

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/HeuristicLab.Problems.Programmable-3.3.csproj

    r11813 r11814  
    150150    <Compile Include="New\BasicProblem.cs" />
    151151    <Compile Include="New\MultiObjectiveBasicProblem.cs" />
    152     <Compile Include="New\MultiObjectiveScriptableProblem.cs" />
     152    <Compile Include="New\MultiObjectiveProgrammableProblem.cs" />
    153153    <Compile Include="New\Scripts\Templates\CompiledMultiObjectiveProblemDefinition.cs" />
    154154    <Compile Include="New\Scripts\Templates\CompiledSingleObjectiveProblemDefinition.cs" />
     
    176176    <Compile Include="New\OneMaxNew.cs" />
    177177    <Compile Include="New\SingleObjectiveBasicProblem.cs" />
    178     <Compile Include="New\SingleObjectiveScriptableProblem.cs" />
     178    <Compile Include="New\SingleObjectiveProgrammableProblem.cs" />
    179179    <Compile Include="New\Scripts\MultiObjectiveProblemDefinitionScript.cs" />
    180180    <Compile Include="New\Scripts\SingleObjectiveProblemDefinitionScript.cs" />
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/BasicProblem.cs

    r11813 r11814  
    3131namespace HeuristicLab.Problems.Programmable {
    3232  [StorableClass]
    33   public abstract class ProgrammableProblem<TEncoding, TEvaluator> : HeuristicOptimizationProblem<TEvaluator, ISolutionCreator>, IProblemDefinition, IStorableContent
     33  public abstract class BasicProblem<TEncoding, TEvaluator> : HeuristicOptimizationProblem<TEvaluator, ISolutionCreator>, IProblemDefinition, IStorableContent
    3434    where TEncoding : class, IEncoding
    3535    where TEvaluator : class, IEvaluator {
     
    6464    }
    6565
    66     protected ProgrammableProblem()
     66    protected BasicProblem()
    6767      : base() {
    6868      Parameters.Add(new ValueParameter<TEncoding>("Encoding", "Describes the configuration of the encoding, what the variables are called, what type they are and their bounds if any."));
     
    7171    }
    7272
    73     protected ProgrammableProblem(ProgrammableProblem<TEncoding, TEvaluator> original, Cloner cloner)
     73    protected BasicProblem(BasicProblem<TEncoding, TEvaluator> original, Cloner cloner)
    7474      : base(original, cloner) {
    7575      oldEncoding = cloner.Clone(original.oldEncoding);
     
    7878
    7979    [StorableConstructor]
    80     protected ProgrammableProblem(bool deserializing) : base(deserializing) { }
     80    protected BasicProblem(bool deserializing) : base(deserializing) { }
    8181    [StorableHook(HookType.AfterDeserialization)]
    8282    private void AfterDeserialization() {
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/MultiObjectiveBasicProblem.cs

    r11813 r11814  
    3030namespace HeuristicLab.Problems.Programmable {
    3131  [StorableClass]
    32   public abstract class MultiObjectiveProgrammableProblem<TEncoding> : ProgrammableProblem<TEncoding, MultiObjectiveEvaluator>, IMultiObjectiveHeuristicOptimizationProblem, IMultiObjectiveProblemDefinition
     32  public abstract class MultiObjectiveBasicProblem<TEncoding> : BasicProblem<TEncoding, MultiObjectiveEvaluator>, IMultiObjectiveHeuristicOptimizationProblem, IMultiObjectiveProblemDefinition
    3333  where TEncoding : class, IEncoding {
    3434    [StorableConstructor]
    35     protected MultiObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { }
     35    protected MultiObjectiveBasicProblem(bool deserializing) : base(deserializing) { }
    3636
    37     protected MultiObjectiveProgrammableProblem(MultiObjectiveProgrammableProblem<TEncoding> original, Cloner cloner)
     37    protected MultiObjectiveBasicProblem(MultiObjectiveBasicProblem<TEncoding> original, Cloner cloner)
    3838      : base(original, cloner) {
    3939      ParameterizeOperators();
    4040    }
    4141
    42     protected MultiObjectiveProgrammableProblem()
     42    protected MultiObjectiveBasicProblem()
    4343      : base() {
    4444      Parameters.Add(new ValueParameter<BoolArray>("Maximization", "Set to false if the problem should be minimized.", new BoolArray()));
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/MultiObjectiveProgrammableProblem.cs

    r11812 r11814  
    2828
    2929namespace HeuristicLab.Problems.Programmable {
    30   [Item("Scriptable Problem (multi-objective)", "Represents a multi-objective problem that can be scripted.")]
     30  [Item("Programmable Problem (multi-objective)", "Represents a multi-objective problem that can be programmed with a script.")]
    3131  [Creatable("1 Test")]
    3232  [StorableClass]
    33   public sealed class MultiObjectiveScriptableProblem : MultiObjectiveProgrammableProblem<IEncoding> {
     33  public sealed class MultiObjectiveProgrammableProblem : MultiObjectiveBasicProblem<IEncoding> {
    3434
    3535    private FixedValueParameter<MultiObjectiveProblemDefinitionScript> MultiObjectiveProblemScriptParameter {
     
    4545    }
    4646
    47     private MultiObjectiveScriptableProblem(MultiObjectiveScriptableProblem original, Cloner cloner)
     47    private MultiObjectiveProgrammableProblem(MultiObjectiveProgrammableProblem original, Cloner cloner)
    4848      : base(original, cloner) {
    4949      RegisterEvents();
     
    5555      }
    5656    }
    57     public override IDeepCloneable Clone(Cloner cloner) { return new MultiObjectiveScriptableProblem(this, cloner); }
     57    public override IDeepCloneable Clone(Cloner cloner) { return new MultiObjectiveProgrammableProblem(this, cloner); }
    5858
    5959
    6060    [StorableConstructor]
    61     private MultiObjectiveScriptableProblem(bool deserializing) : base(deserializing) { }
     61    private MultiObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { }
    6262
    63     public MultiObjectiveScriptableProblem()
     63    public MultiObjectiveProgrammableProblem()
    6464      : base() {
    6565      Parameters.Add(new FixedValueParameter<MultiObjectiveProblemDefinitionScript>("ProblemScript", "Defines the problem.", new MultiObjectiveProblemDefinitionScript() { Name = Name }));
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/OneMaxNew.cs

    r11813 r11814  
    3232  [Creatable("1 Test")]
    3333  [StorableClass]
    34   public class OneMaxNew : SingleObjectiveProgrammableProblem<BinaryEncoding> {
     34  public class OneMaxNew : SingleObjectiveBasicProblem<BinaryEncoding> {
    3535    public override bool Maximization {
    3636      get { return true; }
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/SingleObjectiveBasicProblem.cs

    r11813 r11814  
    3232namespace HeuristicLab.Problems.Programmable {
    3333  [StorableClass]
    34   public abstract class SingleObjectiveProgrammableProblem<TEncoding> : ProgrammableProblem<TEncoding, SingleObjectiveEvaluator>,
     34  public abstract class SingleObjectiveBasicProblem<TEncoding> : BasicProblem<TEncoding, SingleObjectiveEvaluator>,
    3535    ISingleObjectiveProblemDefinition, ISingleObjectiveHeuristicOptimizationProblem
    3636  where TEncoding : class, IEncoding {
    3737    [StorableConstructor]
    38     protected SingleObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { }
     38    protected SingleObjectiveBasicProblem(bool deserializing) : base(deserializing) { }
    3939
    40     protected SingleObjectiveProgrammableProblem(SingleObjectiveProgrammableProblem<TEncoding> original, Cloner cloner)
     40    protected SingleObjectiveBasicProblem(SingleObjectiveBasicProblem<TEncoding> original, Cloner cloner)
    4141      : base(original, cloner) {
    4242      ParameterizeOperators();
    4343    }
    4444
    45     protected SingleObjectiveProgrammableProblem()
     45    protected SingleObjectiveBasicProblem()
    4646      : base() {
    4747      Parameters.Add(new FixedValueParameter<BoolValue>("Maximization", "Set to false if the problem should be minimized.", new BoolValue()));
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/SingleObjectiveProgrammableProblem.cs

    r11812 r11814  
    2929
    3030namespace HeuristicLab.Problems.Programmable {
    31   [Item("Scriptable Problem (single-objective)", "Represents a single-objective problem that can be scripted.")]
     31  [Item("Programmable Problem (single-objective)", "Represents a single-objective problem that can be programmed with a script.")]
    3232  [Creatable("1 Test")]
    3333  [StorableClass]
    34   public sealed class SingleObjectiveScriptableProblem : SingleObjectiveProgrammableProblem<IEncoding> {
     34  public sealed class SingleObjectiveProgrammableProblem : SingleObjectiveBasicProblem<IEncoding> {
    3535
    3636    private FixedValueParameter<SingleObjectiveProblemDefinitionScript> SingleObjectiveProblemScriptParameter {
     
    4646    }
    4747
    48     private SingleObjectiveScriptableProblem(SingleObjectiveScriptableProblem original, Cloner cloner)
     48    private SingleObjectiveProgrammableProblem(SingleObjectiveProgrammableProblem original, Cloner cloner)
    4949      : base(original, cloner) {
    5050      RegisterEvents();
     
    5656      }
    5757    }
    58     public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveScriptableProblem(this, cloner); }
     58    public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveProgrammableProblem(this, cloner); }
    5959
    6060
    6161    [StorableConstructor]
    62     private SingleObjectiveScriptableProblem(bool deserializing) : base(deserializing) { }
     62    private SingleObjectiveProgrammableProblem(bool deserializing) : base(deserializing) { }
    6363
    64     public SingleObjectiveScriptableProblem()
     64    public SingleObjectiveProgrammableProblem()
    6565      : base() {
    6666      Parameters.Add(new FixedValueParameter<SingleObjectiveProblemDefinitionScript>("ProblemScript", "Defines the problem.", new SingleObjectiveProblemDefinitionScript() { Name = Name }));
Note: See TracChangeset for help on using the changeset viewer.