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.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisModel.cs

    r12012 r13656  
    2121
    2222using System;
    23 using System.Drawing;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Core;
     
    3332  [StorableClass]
    3433  public abstract class SymbolicDataAnalysisModel : NamedItem, ISymbolicDataAnalysisModel {
    35     public static new Image StaticItemImage {
    36       get { return HeuristicLab.Common.Resources.VSImageLibrary.Function; }
    37     }
     34
    3835
    3936    #region properties
     
    4744    [Storable]
    4845    private ISymbolicExpressionTree symbolicExpressionTree;
    49     public ISymbolicExpressionTree SymbolicExpressionTree {
     46    public ISymbolicExpressionTree SymbolicExpressionTree
     47    {
    5048      get { return symbolicExpressionTree; }
    5149    }
     
    5351    [Storable]
    5452    private ISymbolicDataAnalysisExpressionTreeInterpreter interpreter;
    55     public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter {
     53    public ISymbolicDataAnalysisExpressionTreeInterpreter Interpreter
     54    {
    5655      get { return interpreter; }
    5756    }
  • branches/WebJobManager/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r12422 r13656  
    2121
    2222using System;
    23 using System.Drawing;
    2423using System.Linq;
    2524using HeuristicLab.Common;
    26 using HeuristicLab.Common.Resources;
    2725using HeuristicLab.Core;
    2826using HeuristicLab.Data;
     
    6967
    7068    #region parameter properties
    71     IParameter IDataAnalysisProblem.ProblemDataParameter {
     69    IParameter IDataAnalysisProblem.ProblemDataParameter
     70    {
    7271      get { return ProblemDataParameter; }
    7372    }
    74     public IValueParameter<T> ProblemDataParameter {
     73    public IValueParameter<T> ProblemDataParameter
     74    {
    7575      get { return (IValueParameter<T>)Parameters[ProblemDataParameterName]; }
    7676    }
    77     public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter {
     77    public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter
     78    {
    7879      get { return (IValueParameter<ISymbolicDataAnalysisGrammar>)Parameters[SymbolicExpressionTreeGrammarParameterName]; }
    7980    }
    80     public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter {
     81    public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter
     82    {
    8183      get { return (IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>)Parameters[SymbolicExpressionTreeInterpreterParameterName]; }
    8284    }
    83     public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeDepthParameter {
     85    public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeDepthParameter
     86    {
    8487      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumSymbolicExpressionTreeDepthParameterName]; }
    8588    }
    86     public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter {
     89    public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter
     90    {
    8791      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumSymbolicExpressionTreeLengthParameterName]; }
    8892    }
    89     public IFixedValueParameter<IntValue> MaximumFunctionDefinitionsParameter {
     93    public IFixedValueParameter<IntValue> MaximumFunctionDefinitionsParameter
     94    {
    9095      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumFunctionDefinitionsParameterName]; }
    9196    }
    92     public IFixedValueParameter<IntValue> MaximumFunctionArgumentsParameter {
     97    public IFixedValueParameter<IntValue> MaximumFunctionArgumentsParameter
     98    {
    9399      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumFunctionArgumentsParameterName]; }
    94100    }
    95     public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter {
     101    public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter
     102    {
    96103      get { return (IFixedValueParameter<PercentValue>)Parameters[RelativeNumberOfEvaluatedSamplesParameterName]; }
    97104    }
    98     public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter {
     105    public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter
     106    {
    99107      get { return (IFixedValueParameter<IntRange>)Parameters[FitnessCalculationPartitionParameterName]; }
    100108    }
    101     public IFixedValueParameter<IntRange> ValidationPartitionParameter {
     109    public IFixedValueParameter<IntRange> ValidationPartitionParameter
     110    {
    102111      get { return (IFixedValueParameter<IntRange>)Parameters[ValidationPartitionParameterName]; }
    103112    }
    104     public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter {
     113    public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter
     114    {
    105115      get { return (IFixedValueParameter<BoolValue>)Parameters[ApplyLinearScalingParameterName]; }
    106116    }
     
    109119    #region properties
    110120    public string Filename { get; set; }
    111     public static new Image StaticItemImage { get { return VSImageLibrary.Type; } }
    112 
    113     IDataAnalysisProblemData IDataAnalysisProblem.ProblemData {
     121
     122
     123    IDataAnalysisProblemData IDataAnalysisProblem.ProblemData
     124    {
    114125      get { return ProblemData; }
    115126    }
    116     public T ProblemData {
     127    public T ProblemData
     128    {
    117129      get { return ProblemDataParameter.Value; }
    118130      set { ProblemDataParameter.Value = value; }
    119131    }
    120132
    121     public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar {
     133    public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar
     134    {
    122135      get { return SymbolicExpressionTreeGrammarParameter.Value; }
    123136      set { SymbolicExpressionTreeGrammarParameter.Value = value; }
    124137    }
    125     public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter {
     138    public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter
     139    {
    126140      get { return SymbolicExpressionTreeInterpreterParameter.Value; }
    127141      set { SymbolicExpressionTreeInterpreterParameter.Value = value; }
    128142    }
    129143
    130     public IntValue MaximumSymbolicExpressionTreeDepth {
     144    public IntValue MaximumSymbolicExpressionTreeDepth
     145    {
    131146      get { return MaximumSymbolicExpressionTreeDepthParameter.Value; }
    132147    }
    133     public IntValue MaximumSymbolicExpressionTreeLength {
     148    public IntValue MaximumSymbolicExpressionTreeLength
     149    {
    134150      get { return MaximumSymbolicExpressionTreeLengthParameter.Value; }
    135151    }
    136     public IntValue MaximumFunctionDefinitions {
     152    public IntValue MaximumFunctionDefinitions
     153    {
    137154      get { return MaximumFunctionDefinitionsParameter.Value; }
    138155    }
    139     public IntValue MaximumFunctionArguments {
     156    public IntValue MaximumFunctionArguments
     157    {
    140158      get { return MaximumFunctionArgumentsParameter.Value; }
    141159    }
    142     public PercentValue RelativeNumberOfEvaluatedSamples {
     160    public PercentValue RelativeNumberOfEvaluatedSamples
     161    {
    143162      get { return RelativeNumberOfEvaluatedSamplesParameter.Value; }
    144163    }
    145164
    146     public IntRange FitnessCalculationPartition {
     165    public IntRange FitnessCalculationPartition
     166    {
    147167      get { return FitnessCalculationPartitionParameter.Value; }
    148168    }
    149     public IntRange ValidationPartition {
     169    public IntRange ValidationPartition
     170    {
    150171      get { return ValidationPartitionParameter.Value; }
    151172    }
    152     public BoolValue ApplyLinearScaling {
     173    public BoolValue ApplyLinearScaling
     174    {
    153175      get { return ApplyLinearScalingParameter.Value; }
    154176    }
Note: See TracChangeset for help on using the changeset viewer.