Changeset 9352 for branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3
- Timestamp:
- 04/10/13 15:15:13 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3
- Files:
-
- 2 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 } -
branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/HeuristicLab.Problems.CombinedIntegerVectorClassification-3.3.csproj
r9334 r9352 125 125 </ItemGroup> 126 126 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 127 <PropertyGroup> 128 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 129 set ProjectDir=$(ProjectDir) 130 set SolutionDir=$(SolutionDir) 131 set Outdir=$(Outdir) 132 133 call PreBuildEvent.cmd 134 </PreBuildEvent> 135 </PropertyGroup> 127 136 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 128 137 Other similar extension points exist, see Microsoft.Common.targets.
Note: See TracChangeset
for help on using the changeset viewer.