Changeset 9352 for branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblemData.cs
- Timestamp:
- 04/10/13 15:15:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblemData.cs
r9242 r9352 45 45 get { return (IFixedValueParameter<IntValue>)Parameters["ActionLength"]; } 46 46 } 47 public I FixedValueParameter<IntMatrix> BoundsParameter {48 get { return (I FixedValueParameter<IntMatrix>)Parameters["Bounds"]; }47 public IValueParameter<IntMatrix> BoundsParameter { 48 get { return (IValueParameter<IntMatrix>)Parameters["Bounds"]; } 49 49 } 50 50 #endregion … … 77 77 Parameters.Add(new FixedValueParameter<IntValue>("Length", "", new IntValue(allowedConditionVariables.Count() + allowedActionVariables.Count()))); 78 78 Parameters.Add(new FixedValueParameter<IntValue>("ActionLength", "", new IntValue(allowedActionVariables.Count()))); 79 Parameters.Add(new FixedValueParameter<IntMatrix>("Bounds", "", GetBoundsMatrix(dataset, allowedConditionVariables, allowedActionVariables)));79 Parameters.Add(new ValueParameter<IntMatrix>("Bounds", "", GetBoundsMatrix(dataset, allowedConditionVariables, allowedActionVariables))); 80 80 } 81 81 … … 126 126 return (FetchInput(rowNumber) as IClassifier).Action; 127 127 } 128 129 protected override void ActionConditionVariablesChanged() { 130 ActionLength.Value = AllowedActionVariables.Count(); 131 Length.Value = AllowedConditionVariables.Count() + ActionLength.Value; 132 BoundsParameter.Value = GetBoundsMatrix(Dataset, AllowedConditionVariables, AllowedActionVariables); 133 } 128 134 } 129 135 }
Note: See TracChangeset
for help on using the changeset viewer.