Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/18 16:56:35 (6 years ago)
Author:
bburlacu
Message:

#2895: Add solution skeleton for PushGP with genealogy analysis.

Location:
branches/2895_PushGP_GenealogyAnalysis
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push/Analyzer/PushExpressionFrequencyAnalyzer.cs

    r15289 r15771  
    1 namespace HeuristicLab.Problems.ProgramSynthesis.Push.Analyzer {
     1namespace HeuristicLab.Problems.ProgramSynthesis {
    22  using System;
    33  using System.Collections.Generic;
     
    1313  using HeuristicLab.Parameters;
    1414  using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    15   using HeuristicLab.Problems.ProgramSynthesis.Push.Attributes;
    16   using HeuristicLab.Problems.ProgramSynthesis.Push.Configuration;
    17   using HeuristicLab.Problems.ProgramSynthesis.Push.Encoding;
    18   using HeuristicLab.Problems.ProgramSynthesis.Push.Expressions;
    19   using HeuristicLab.Problems.ProgramSynthesis.Push.Individual;
    2015
    2116  /// <summary>
     
    5853    public bool EnabledByDefault { get { return true; } }
    5954
    60     public ILookupParameter<IReadOnlyPushConfiguration> PushConfigurationParameter
    61     {
     55    public ILookupParameter<IReadOnlyPushConfiguration> PushConfigurationParameter {
    6256      get { return (ILookupParameter<IReadOnlyPushConfiguration>)Parameters[PUSH_CONFIGURATION_PARAMETER_NAME]; }
    6357    }
    6458
    65     public IScopeTreeLookupParameter<PlushVector> PlushVectorParameter
    66     {
     59    public IScopeTreeLookupParameter<PlushVector> PlushVectorParameter {
    6760      get { return (IScopeTreeLookupParameter<PlushVector>)Parameters["Plush"]; }
    6861    }
    6962
    70     public IScopeTreeLookupParameter<IntegerVector> IntegerVectorParameter
    71     {
     63    public IScopeTreeLookupParameter<IntegerVector> IntegerVectorParameter {
    7264      get { return (IScopeTreeLookupParameter<IntegerVector>)Parameters[INTEGER_VECTOR_PARAMETER_NAME]; }
    7365    }
    7466
    75     public ILookupParameter<DataTable> ExpressionFrequenciesParameter
    76     {
     67    public ILookupParameter<DataTable> ExpressionFrequenciesParameter {
    7768      get { return (ILookupParameter<DataTable>)Parameters[EXPRESSION_FREQUENCIES_PARAMETER_NAME]; }
    7869    }
    7970
    80     public ILookupParameter<IRandom> RandomParameter
    81     {
     71    public ILookupParameter<IRandom> RandomParameter {
    8272      get { return (ILookupParameter<IRandom>)Parameters[RANDOM_PARAMETER_NAME]; }
    8373    }
    8474
    85     public ILookupParameter<ResultCollection> ResultsParameter
    86     {
     75    public ILookupParameter<ResultCollection> ResultsParameter {
    8776      get { return (ILookupParameter<ResultCollection>)Parameters[RESULTS_PARAMETER_NAME]; }
    8877    }
    8978
    90     public IValueParameter<BoolValue> AggregateStackTypesParameter
    91     {
     79    public IValueParameter<BoolValue> AggregateStackTypesParameter {
    9280      get { return (IValueParameter<BoolValue>)Parameters[AGGREGATE_STACK_TYPES_PARAMETER_NAME]; }
    9381    }
    9482
    95     public bool AggregateStackTypes
    96     {
     83    public bool AggregateStackTypes {
    9784      get { return AggregateStackTypesParameter.Value.Value; }
    9885      set { AggregateStackTypesParameter.Value.Value = value; }
Note: See TracChangeset for help on using the changeset viewer.