Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/10/13 15:15:13 (12 years ago)
Author:
sforsten
Message:

#1980:

  • added DecisionListView
  • added event handlers in *ProblemData
  • renamed project Problems.XCS.Views to Problems.lCS.Views and Problems.Instances.ConditionActionClassification to Problems.Instances.LCS
  • integrated niching in GAssist and added NichingTournamentSelector
  • minor code improvements and property changes
Location:
branches/LearningClassifierSystems/HeuristicLab.Problems.VariableVectorClassification/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Problems.VariableVectorClassification/3.3/Plugin.cs.frame

    r9226 r9352  
    2323
    2424namespace HeuristicLab.Problems.VariableVectorClassification {
    25   [Plugin("HeuristicLab.Problems.ConditionActionClassification", "3.3.7.$WCREV$")]
     25  [Plugin("HeuristicLab.Problems.VariableVectorClassification", "3.3.7.$WCREV$")]
    2626  [PluginFile("HeuristicLab.Problems.VariableVectorClassification-3.3.dll", PluginFileType.Assembly)]
    2727  [PluginDependency("HeuristicLab.Common.Resources", "3.3")]
  • branches/LearningClassifierSystems/HeuristicLab.Problems.VariableVectorClassification/3.3/VariableVectorClassificationProblemData.cs

    r9242 r9352  
    3939
    4040    #region parameter properites
    41     public IFixedValueParameter<VariableVector> SampleVariableVectorParameter {
    42       get { return (IFixedValueParameter<VariableVector>)Parameters["SampleVariableVector"]; }
     41    public IValueParameter<VariableVector> SampleVariableVectorParameter {
     42      get { return (IValueParameter<VariableVector>)Parameters["SampleVariableVector"]; }
    4343    }
    4444    public IFixedValueParameter<PercentValue> SpreadPercentageParameter {
     
    6767    public VariableVectorClassificationProblemData(Dataset dataset, IEnumerable<string> allowedConditionVariables, IEnumerable<string> allowedActionVariables) :
    6868      base(dataset, allowedConditionVariables, allowedActionVariables) {
    69       Parameters.Add(new FixedValueParameter<VariableVector>("SampleVariableVector", "", GenerateSampleVariableVector(dataset, allowedConditionVariables, allowedActionVariables)));
     69      Parameters.Add(new ValueParameter<VariableVector>("SampleVariableVector", "", GenerateSampleVariableVector(dataset, allowedConditionVariables, allowedActionVariables)));
    7070      Parameters.Add(new FixedValueParameter<PercentValue>("SpreadPercentage", "", new PercentValue(0.5)));
    7171    }
     
    126126      return fetchActionCache[rowNumber];
    127127    }
     128
     129    protected override void ActionConditionVariablesChanged() {
     130      SampleVariableVectorParameter.Value = GenerateSampleVariableVector(Dataset, AllowedConditionVariables, AllowedActionVariables);
     131    }
    128132  }
    129133}
Note: See TracChangeset for help on using the changeset viewer.