Changeset 9105 for branches/LearningClassifierSystems/HeuristicLab.Problems.ConditionActionClassification
- Timestamp:
- 01/03/13 20:19:00 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Problems.ConditionActionClassification/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Problems.ConditionActionClassification/3.3/HeuristicLab.Problems.ConditionActionClassification-3.3.csproj
r9089 r9105 65 65 <Reference Include="System" /> 66 66 <Reference Include="System.Core" /> 67 <Reference Include="System.Drawing" /> 67 68 <Reference Include="System.Xml.Linq" /> 68 69 <Reference Include="System.Data.DataSetExtensions" /> … … 94 95 </ItemGroup> 95 96 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 97 <PropertyGroup> 98 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 99 set ProjectDir=$(ProjectDir) 100 set SolutionDir=$(SolutionDir) 101 set Outdir=$(Outdir) 102 103 call PreBuildEvent.cmd 104 </PreBuildEvent> 105 </PropertyGroup> 96 106 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 97 107 Other similar extension points exist, see Microsoft.Common.targets. -
branches/LearningClassifierSystems/HeuristicLab.Problems.ConditionActionClassification/3.3/Implementation/ConditionActionClassificationProblem.cs
r9090 r9105 36 36 private const string ClassifierFetcherParameterName = "ClassifierFetcher"; 37 37 private const string ActionExecuterParameterName = "ActionExecuter"; 38 private const string ActionSetSubsumptionOperatorParameterName = "ActionSetSubsumption"; 38 39 39 40 IXCSEvaluator IConditionActionProblem.Evaluator { … … 118 119 IClassifierFetcher IConditionActionProblem.ClassifierFetcher { get { return ClassifierFetcher; } } 119 120 IParameter IConditionActionProblem.ClassifierFetcherParameter { get { return ClassifierFetcherParameter; } } 121 122 123 public ActionSetSubsumptionoperator ActionSetSubsumptionOperator { 124 get { return ActionSetSubsumptionOperatorParameter.Value; } 125 } 126 public ValueParameter<ActionSetSubsumptionoperator> ActionSetSubsumptionOperatorParameter { 127 get { return (ValueParameter<ActionSetSubsumptionoperator>)Parameters[ActionSetSubsumptionOperatorParameterName]; } 128 } 129 IActionSetSubsumption IConditionActionProblem.ActionSetSubsumptionOperator { get { return ActionSetSubsumptionOperator; } } 130 IParameter IConditionActionProblem.ActionSetSubsumptionOperatorParameter { get { return ActionSetSubsumptionOperatorParameter; } } 120 131 121 132 private IntValue ThetaMinimalNumberOfActions { … … 164 175 Parameters.Add(new ValueParameter<CombinedIntegerVectorClassifierFetcher>(ClassifierFetcherParameterName, "", new CombinedIntegerVectorClassifierFetcher())); 165 176 Parameters.Add(new FixedValueParameter<ItemSet<IClassifier>>("PossibleActions")); 166 Parameters.Add(new FixedValueParameter<IntValue>("ThetaMinimalNumberOfActions", "Minimal number of actions, which have to be present in the match set, or else covering will occure." ));177 Parameters.Add(new FixedValueParameter<IntValue>("ThetaMinimalNumberOfActions", "Minimal number of actions, which have to be present in the match set, or else covering will occure.", new IntValue(1))); 167 178 168 179 Parameters.Add(new ValueParameter<ICoveringSolutionCreator>("CoveringSolutionCreator", "", coveringSolutionCreator)); 169 180 Parameters.Add(new FixedValueParameter<PercentValue>("ChangeSymbolProbabilityInCovering", "", new PercentValue(0.5))); 181 182 Parameters.Add(new ValueParameter<ActionSetSubsumptionoperator>(ActionSetSubsumptionOperatorParameterName, "", new ActionSetSubsumptionoperator())); 170 183 171 184 Evaluator.InitialErrorParameter.ActualName = "InitialError"; … … 188 201 ActionExecuter.NegativeRewardParameter.ActualName = NegativeRewardParameter.Name; 189 202 ActionExecuter.PositiveRewardParameter.ActualName = PositiveRewardParameter.Name; 203 204 ActionSetSubsumptionOperator.ClassifiersParameter.ActualName = "CombinedIntegerVector"; 190 205 191 206 SetPossibleActions();
Note: See TracChangeset
for help on using the changeset viewer.