Changeset 15771 for branches/2895_PushGP_GenealogyAnalysis/HeuristicLab.Problems.ProgramSynthesis/Push/Analyzer/PushExpressionFrequencyAnalyzer.cs
- Timestamp:
- 02/13/18 16:56:35 (6 years ago)
- 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{1 namespace HeuristicLab.Problems.ProgramSynthesis { 2 2 using System; 3 3 using System.Collections.Generic; … … 13 13 using HeuristicLab.Parameters; 14 14 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;20 15 21 16 /// <summary> … … 58 53 public bool EnabledByDefault { get { return true; } } 59 54 60 public ILookupParameter<IReadOnlyPushConfiguration> PushConfigurationParameter 61 { 55 public ILookupParameter<IReadOnlyPushConfiguration> PushConfigurationParameter { 62 56 get { return (ILookupParameter<IReadOnlyPushConfiguration>)Parameters[PUSH_CONFIGURATION_PARAMETER_NAME]; } 63 57 } 64 58 65 public IScopeTreeLookupParameter<PlushVector> PlushVectorParameter 66 { 59 public IScopeTreeLookupParameter<PlushVector> PlushVectorParameter { 67 60 get { return (IScopeTreeLookupParameter<PlushVector>)Parameters["Plush"]; } 68 61 } 69 62 70 public IScopeTreeLookupParameter<IntegerVector> IntegerVectorParameter 71 { 63 public IScopeTreeLookupParameter<IntegerVector> IntegerVectorParameter { 72 64 get { return (IScopeTreeLookupParameter<IntegerVector>)Parameters[INTEGER_VECTOR_PARAMETER_NAME]; } 73 65 } 74 66 75 public ILookupParameter<DataTable> ExpressionFrequenciesParameter 76 { 67 public ILookupParameter<DataTable> ExpressionFrequenciesParameter { 77 68 get { return (ILookupParameter<DataTable>)Parameters[EXPRESSION_FREQUENCIES_PARAMETER_NAME]; } 78 69 } 79 70 80 public ILookupParameter<IRandom> RandomParameter 81 { 71 public ILookupParameter<IRandom> RandomParameter { 82 72 get { return (ILookupParameter<IRandom>)Parameters[RANDOM_PARAMETER_NAME]; } 83 73 } 84 74 85 public ILookupParameter<ResultCollection> ResultsParameter 86 { 75 public ILookupParameter<ResultCollection> ResultsParameter { 87 76 get { return (ILookupParameter<ResultCollection>)Parameters[RESULTS_PARAMETER_NAME]; } 88 77 } 89 78 90 public IValueParameter<BoolValue> AggregateStackTypesParameter 91 { 79 public IValueParameter<BoolValue> AggregateStackTypesParameter { 92 80 get { return (IValueParameter<BoolValue>)Parameters[AGGREGATE_STACK_TYPES_PARAMETER_NAME]; } 93 81 } 94 82 95 public bool AggregateStackTypes 96 { 83 public bool AggregateStackTypes { 97 84 get { return AggregateStackTypesParameter.Value.Value; } 98 85 set { AggregateStackTypesParameter.Value.Value = value; }
Note: See TracChangeset
for help on using the changeset viewer.