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.GrammaticalEvolution/3.3/Symbolic/GESymbolicDataAnalysisProblem.cs

    r12012 r13656  
    2424
    2525using System;
    26 using System.Drawing;
    2726using System.Linq;
    2827using HeuristicLab.Common;
    29 using HeuristicLab.Common.Resources;
    3028using HeuristicLab.Core;
    3129using HeuristicLab.Data;
     
    7472
    7573    #region parameter properties
    76     IParameter IDataAnalysisProblem.ProblemDataParameter {
     74    IParameter IDataAnalysisProblem.ProblemDataParameter
     75    {
    7776      get { return ProblemDataParameter; }
    7877    }
    79     public IValueParameter<T> ProblemDataParameter {
     78    public IValueParameter<T> ProblemDataParameter
     79    {
    8080      get { return (IValueParameter<T>)Parameters[ProblemDataParameterName]; }
    8181    }
    82     public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter {
     82    public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter
     83    {
    8384      get { return (IValueParameter<ISymbolicDataAnalysisGrammar>)Parameters[SymbolicExpressionTreeGrammarParameterName]; }
    8485    }
    85     public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter {
     86    public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter
     87    {
    8688      get { return (IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>)Parameters[SymbolicExpressionTreeInterpreterParameterName]; }
    8789    }
    88     public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter {
     90    public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter
     91    {
    8992      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumSymbolicExpressionTreeLengthParameterName]; }
    9093    }
    91     public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter {
     94    public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter
     95    {
    9296      get { return (IFixedValueParameter<PercentValue>)Parameters[RelativeNumberOfEvaluatedSamplesParameterName]; }
    9397    }
    94     public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter {
     98    public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter
     99    {
    95100      get { return (IFixedValueParameter<IntRange>)Parameters[FitnessCalculationPartitionParameterName]; }
    96101    }
    97     public IFixedValueParameter<IntRange> ValidationPartitionParameter {
     102    public IFixedValueParameter<IntRange> ValidationPartitionParameter
     103    {
    98104      get { return (IFixedValueParameter<IntRange>)Parameters[ValidationPartitionParameterName]; }
    99105    }
    100     public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter {
     106    public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter
     107    {
    101108      get { return (IFixedValueParameter<BoolValue>)Parameters[ApplyLinearScalingParameterName]; }
    102109    }
    103     public IValueParameter<IntMatrix> BoundsParameter {
     110    public IValueParameter<IntMatrix> BoundsParameter
     111    {
    104112      get { return (IValueParameter<IntMatrix>)Parameters[BoundsParameterName]; }
    105113    }
    106     public IValueParameter<IGenotypeToPhenotypeMapper> GenotypeToPhenotypeMapperParameter {
     114    public IValueParameter<IGenotypeToPhenotypeMapper> GenotypeToPhenotypeMapperParameter
     115    {
    107116      get { return (IValueParameter<IGenotypeToPhenotypeMapper>)Parameters[GenotypeToPhenotypeMapperParameterName]; }
    108117    }
     
    111120    #region properties
    112121    public string Filename { get; set; }
    113     public static new Image StaticItemImage { get { return VSImageLibrary.Type; } }
    114 
    115     IDataAnalysisProblemData IDataAnalysisProblem.ProblemData {
     122
     123
     124    IDataAnalysisProblemData IDataAnalysisProblem.ProblemData
     125    {
    116126      get { return ProblemData; }
    117127    }
    118     public T ProblemData {
     128    public T ProblemData
     129    {
    119130      get { return ProblemDataParameter.Value; }
    120131      set { ProblemDataParameter.Value = value; }
    121132    }
    122133
    123     public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar {
     134    public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar
     135    {
    124136      get { return SymbolicExpressionTreeGrammarParameter.Value; }
    125137      set { SymbolicExpressionTreeGrammarParameter.Value = value; }
    126138    }
    127     public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter {
     139    public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter
     140    {
    128141      get { return SymbolicExpressionTreeInterpreterParameter.Value; }
    129142      set { SymbolicExpressionTreeInterpreterParameter.Value = value; }
    130143    }
    131144
    132     public IntValue MaximumSymbolicExpressionTreeLength {
     145    public IntValue MaximumSymbolicExpressionTreeLength
     146    {
    133147      get { return MaximumSymbolicExpressionTreeLengthParameter.Value; }
    134148    }
    135149
    136     public PercentValue RelativeNumberOfEvaluatedSamples {
     150    public PercentValue RelativeNumberOfEvaluatedSamples
     151    {
    137152      get { return RelativeNumberOfEvaluatedSamplesParameter.Value; }
    138153    }
    139154
    140     public IntRange FitnessCalculationPartition {
     155    public IntRange FitnessCalculationPartition
     156    {
    141157      get { return FitnessCalculationPartitionParameter.Value; }
    142158    }
    143     public IntRange ValidationPartition {
     159    public IntRange ValidationPartition
     160    {
    144161      get { return ValidationPartitionParameter.Value; }
    145162    }
    146     public BoolValue ApplyLinearScaling {
     163    public BoolValue ApplyLinearScaling
     164    {
    147165      get { return ApplyLinearScalingParameter.Value; }
    148166    }
  • branches/WebJobManager/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicDataAnalysisProblem.cs

    r12012 r13656  
    2424
    2525using System;
    26 using System.Drawing;
    2726using System.Linq;
    2827using HeuristicLab.Common;
    29 using HeuristicLab.Common.Resources;
    3028using HeuristicLab.Core;
    3129using HeuristicLab.Data;
     
    7472
    7573    #region parameter properties
    76     IParameter IDataAnalysisProblem.ProblemDataParameter {
     74    IParameter IDataAnalysisProblem.ProblemDataParameter
     75    {
    7776      get { return ProblemDataParameter; }
    7877    }
    79     public IValueParameter<T> ProblemDataParameter {
     78    public IValueParameter<T> ProblemDataParameter
     79    {
    8080      get { return (IValueParameter<T>)Parameters[ProblemDataParameterName]; }
    8181    }
    82     public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter {
     82    public IValueParameter<ISymbolicDataAnalysisGrammar> SymbolicExpressionTreeGrammarParameter
     83    {
    8384      get { return (IValueParameter<ISymbolicDataAnalysisGrammar>)Parameters[SymbolicExpressionTreeGrammarParameterName]; }
    8485    }
    85     public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter {
     86    public IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter> SymbolicExpressionTreeInterpreterParameter
     87    {
    8688      get { return (IValueParameter<ISymbolicDataAnalysisExpressionTreeInterpreter>)Parameters[SymbolicExpressionTreeInterpreterParameterName]; }
    8789    }
    88     public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter {
     90    public IFixedValueParameter<IntValue> MaximumSymbolicExpressionTreeLengthParameter
     91    {
    8992      get { return (IFixedValueParameter<IntValue>)Parameters[MaximumSymbolicExpressionTreeLengthParameterName]; }
    9093    }
    91     public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter {
     94    public IFixedValueParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter
     95    {
    9296      get { return (IFixedValueParameter<PercentValue>)Parameters[RelativeNumberOfEvaluatedSamplesParameterName]; }
    9397    }
    94     public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter {
     98    public IFixedValueParameter<IntRange> FitnessCalculationPartitionParameter
     99    {
    95100      get { return (IFixedValueParameter<IntRange>)Parameters[FitnessCalculationPartitionParameterName]; }
    96101    }
    97     public IFixedValueParameter<IntRange> ValidationPartitionParameter {
     102    public IFixedValueParameter<IntRange> ValidationPartitionParameter
     103    {
    98104      get { return (IFixedValueParameter<IntRange>)Parameters[ValidationPartitionParameterName]; }
    99105    }
    100     public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter {
     106    public IFixedValueParameter<BoolValue> ApplyLinearScalingParameter
     107    {
    101108      get { return (IFixedValueParameter<BoolValue>)Parameters[ApplyLinearScalingParameterName]; }
    102109    }
    103     public IValueParameter<IntMatrix> BoundsParameter {
     110    public IValueParameter<IntMatrix> BoundsParameter
     111    {
    104112      get { return (IValueParameter<IntMatrix>)Parameters[BoundsParameterName]; }
    105113    }
    106     public IValueParameter<IGenotypeToPhenotypeMapper> GenotypeToPhenotypeMapperParameter {
     114    public IValueParameter<IGenotypeToPhenotypeMapper> GenotypeToPhenotypeMapperParameter
     115    {
    107116      get { return (IValueParameter<IGenotypeToPhenotypeMapper>)Parameters[GenotypeToPhenotypeMapperParameterName]; }
    108117    }
     
    111120    #region properties
    112121    public string Filename { get; set; }
    113     public static new Image StaticItemImage { get { return VSImageLibrary.Type; } }
    114 
    115     IDataAnalysisProblemData IDataAnalysisProblem.ProblemData {
     122
     123
     124    IDataAnalysisProblemData IDataAnalysisProblem.ProblemData
     125    {
    116126      get { return ProblemData; }
    117127    }
    118     public T ProblemData {
     128    public T ProblemData
     129    {
    119130      get { return ProblemDataParameter.Value; }
    120131      set { ProblemDataParameter.Value = value; }
    121132    }
    122133
    123     public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar {
     134    public ISymbolicDataAnalysisGrammar SymbolicExpressionTreeGrammar
     135    {
    124136      get { return SymbolicExpressionTreeGrammarParameter.Value; }
    125137      set { SymbolicExpressionTreeGrammarParameter.Value = value; }
    126138    }
    127     public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter {
     139    public ISymbolicDataAnalysisExpressionTreeInterpreter SymbolicExpressionTreeInterpreter
     140    {
    128141      get { return SymbolicExpressionTreeInterpreterParameter.Value; }
    129142      set { SymbolicExpressionTreeInterpreterParameter.Value = value; }
    130143    }
    131144
    132     public IntValue MaximumSymbolicExpressionTreeLength {
     145    public IntValue MaximumSymbolicExpressionTreeLength
     146    {
    133147      get { return MaximumSymbolicExpressionTreeLengthParameter.Value; }
    134148    }
    135149
    136     public PercentValue RelativeNumberOfEvaluatedSamples {
     150    public PercentValue RelativeNumberOfEvaluatedSamples
     151    {
    137152      get { return RelativeNumberOfEvaluatedSamplesParameter.Value; }
    138153    }
    139154
    140     public IntRange FitnessCalculationPartition {
     155    public IntRange FitnessCalculationPartition
     156    {
    141157      get { return FitnessCalculationPartitionParameter.Value; }
    142158    }
    143     public IntRange ValidationPartition {
     159    public IntRange ValidationPartition
     160    {
    144161      get { return ValidationPartitionParameter.Value; }
    145162    }
    146     public BoolValue ApplyLinearScaling {
     163    public BoolValue ApplyLinearScaling
     164    {
    147165      get { return ApplyLinearScalingParameter.Value; }
    148166    }
Note: See TracChangeset for help on using the changeset viewer.