Changeset 9352 for branches/LearningClassifierSystems/HeuristicLab.Problems.VariableVectorClassification
- Timestamp:
- 04/10/13 15:15:13 (12 years ago)
- 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 23 23 24 24 namespace HeuristicLab.Problems.VariableVectorClassification { 25 [Plugin("HeuristicLab.Problems. ConditionActionClassification", "3.3.7.$WCREV$")]25 [Plugin("HeuristicLab.Problems.VariableVectorClassification", "3.3.7.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Problems.VariableVectorClassification-3.3.dll", PluginFileType.Assembly)] 27 27 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] -
branches/LearningClassifierSystems/HeuristicLab.Problems.VariableVectorClassification/3.3/VariableVectorClassificationProblemData.cs
r9242 r9352 39 39 40 40 #region parameter properites 41 public I FixedValueParameter<VariableVector> SampleVariableVectorParameter {42 get { return (I FixedValueParameter<VariableVector>)Parameters["SampleVariableVector"]; }41 public IValueParameter<VariableVector> SampleVariableVectorParameter { 42 get { return (IValueParameter<VariableVector>)Parameters["SampleVariableVector"]; } 43 43 } 44 44 public IFixedValueParameter<PercentValue> SpreadPercentageParameter { … … 67 67 public VariableVectorClassificationProblemData(Dataset dataset, IEnumerable<string> allowedConditionVariables, IEnumerable<string> allowedActionVariables) : 68 68 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))); 70 70 Parameters.Add(new FixedValueParameter<PercentValue>("SpreadPercentage", "", new PercentValue(0.5))); 71 71 } … … 126 126 return fetchActionCache[rowNumber]; 127 127 } 128 129 protected override void ActionConditionVariablesChanged() { 130 SampleVariableVectorParameter.Value = GenerateSampleVariableVector(Dataset, AllowedConditionVariables, AllowedActionVariables); 131 } 128 132 } 129 133 }
Note: See TracChangeset
for help on using the changeset viewer.