Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (9 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs

    r13626 r13656  
    2020#endregion
    2121
    22 using System.Drawing;
    2322using HeuristicLab.Common;
    24 using HeuristicLab.Common.Resources;
    2523using HeuristicLab.Core;
    2624using HeuristicLab.Data;
     
    3432  [StorableClass]
    3533  public sealed class MultiObjectiveProgrammableProblem : MultiObjectiveBasicProblem<IEncoding>, IProgrammableItem {
    36     public static new Image StaticItemImage {
    37       get { return VSImageLibrary.Script; }
    38     }
    3934
    40     private FixedValueParameter<MultiObjectiveProblemDefinitionScript> MultiObjectiveProblemScriptParameter {
     35
     36    private FixedValueParameter<MultiObjectiveProblemDefinitionScript> MultiObjectiveProblemScriptParameter
     37    {
    4138      get { return (FixedValueParameter<MultiObjectiveProblemDefinitionScript>)Parameters["ProblemScript"]; }
    4239    }
    4340
    44     public MultiObjectiveProblemDefinitionScript ProblemScript {
     41    public MultiObjectiveProblemDefinitionScript ProblemScript
     42    {
    4543      get { return MultiObjectiveProblemScriptParameter.Value; }
    4644    }
    4745
    48     public IMultiObjectiveProblemDefinition ProblemDefinition {
     46    public IMultiObjectiveProblemDefinition ProblemDefinition
     47    {
    4948      get { return MultiObjectiveProblemScriptParameter.Value; }
    5049    }
     
    9089    }
    9190
    92     public override bool[] Maximization {
     91    public override bool[] Maximization
     92    {
    9393      get { return Parameters.ContainsKey("ProblemScript") ? ProblemDefinition.Maximization : new[] { false }; }
    9494    }
  • branches/WebJobManager/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs

    r13626 r13656  
    2121
    2222using System.Collections.Generic;
    23 using System.Drawing;
    2423using HeuristicLab.Analysis;
    2524using HeuristicLab.Common;
    26 using HeuristicLab.Common.Resources;
    2725using HeuristicLab.Core;
    2826using HeuristicLab.Data;
     
    3634  [StorableClass]
    3735  public sealed class SingleObjectiveProgrammableProblem : SingleObjectiveBasicProblem<IEncoding>, IProgrammableItem {
    38     public static new Image StaticItemImage {
    39       get { return VSImageLibrary.Script; }
    40     }
    4136
    42     private FixedValueParameter<SingleObjectiveProblemDefinitionScript> SingleObjectiveProblemScriptParameter {
     37
     38    private FixedValueParameter<SingleObjectiveProblemDefinitionScript> SingleObjectiveProblemScriptParameter
     39    {
    4340      get { return (FixedValueParameter<SingleObjectiveProblemDefinitionScript>)Parameters["ProblemScript"]; }
    4441    }
    4542
    46     public SingleObjectiveProblemDefinitionScript ProblemScript {
     43    public SingleObjectiveProblemDefinitionScript ProblemScript
     44    {
    4745      get { return SingleObjectiveProblemScriptParameter.Value; }
    4846    }
    4947
    50     public ISingleObjectiveProblemDefinition ProblemDefinition {
     48    public ISingleObjectiveProblemDefinition ProblemDefinition
     49    {
    5150      get { return SingleObjectiveProblemScriptParameter.Value; }
    5251    }
     
    9392    }
    9493
    95     public override bool Maximization {
     94    public override bool Maximization
     95    {
    9696      get { return Parameters.ContainsKey("ProblemScript") ? ProblemDefinition.Maximization : false; }
    9797    }
Note: See TracChangeset for help on using the changeset viewer.