Changeset 9105 for branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding
- Timestamp:
- 01/03/13 20:19:00 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3
- Files:
-
- 11 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3
- Property svn:ignore
-
old new 1 1 obj 2 2 Plugin.cs 3 *.user
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/CoveringOperator.cs
r9090 r9105 53 53 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } 54 54 } 55 public ILookupParameter<IntValue> CurrentPopulationSizeParameter { 56 get { return (ILookupParameter<IntValue>)Parameters["CurrentPopulationSize"]; } 57 } 55 58 public IValueLookupParameter<BoolValue> ParallelParameter { 56 59 get { return (IValueLookupParameter<BoolValue>)Parameters["Parallel"]; } … … 83 86 Parameters.Add(new ValueLookupParameter<BoolValue>("Parallel", "True if the operator should be applied in parallel on all sub-scopes, otherwise false.", new BoolValue(true))); 84 87 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope to which the new solutions are added as sub-scopes.")); 88 Parameters.Add(new LookupParameter<IntValue>("CurrentPopulationSize")); 85 89 } 86 90 … … 97 101 throw new ArgumentException("More classifiers with unique actions shall be created than unique actions are available."); 98 102 } 103 104 CurrentPopulationSizeParameter.ActualValue.Value += count; 99 105 100 106 int current = CurrentScope.SubScopes.Count; -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/ICovering.cs
r9090 r9105 33 33 IValueLookupParameter<ICoveringSolutionCreator> SolutionCreatorParameter { get; } 34 34 IValueLookupParameter<BoolValue> ParallelParameter { get; } 35 36 ILookupParameter<IntValue> CurrentPopulationSizeParameter { get; } 35 37 } 36 38 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/HeuristicLab.Encodings.ConditionActionEncoding-3.3.csproj
r9089 r9105 71 71 <Reference Include="System" /> 72 72 <Reference Include="System.Core" /> 73 <Reference Include="System.Drawing" /> 73 74 <Reference Include="System.Xml.Linq" /> 74 75 <Reference Include="System.Data.DataSetExtensions" /> … … 83 84 <Compile Include="ActionSelection\RandomActionSelector.cs" /> 84 85 <Compile Include="Covering\CoveringOperator.cs" /> 86 <Compile Include="Covering\DoDeletionBeforeCovering.cs" /> 85 87 <Compile Include="Covering\ICovering.cs" /> 86 88 <Compile Include="Covering\ICoveringSolutionCreator.cs" /> 89 <Compile Include="Deletion\CalculateNumberOfDeletionsOperator.cs" /> 90 <Compile Include="Deletion\XCSDeletionOperator.cs" /> 87 91 <Compile Include="Evaluators\XCSEvaluator.cs" /> 88 92 <Compile Include="Evaluators\IConditionActionEvaluator.cs" /> 89 93 <Compile Include="Evaluators\IXCSEvaluator.cs" /> 94 <Compile Include="GA\XCSAfterCrossoverOperator.cs" /> 90 95 <Compile Include="IClassifier.cs" /> 91 96 <Compile Include="Interfaces\IConditionActionProblem.cs" /> 92 97 <Compile Include="Interfaces\IConditionActionProblemData.cs" /> 93 98 <Compile Include="Operator\CalculateAccuracy.cs" /> 99 <Compile Include="GA\XCSCheckIfGAShouldBeApplied.cs" /> 94 100 <Compile Include="Operator\CountNumberOfUniqueActions.cs" /> 95 101 <Compile Include="Operator\PredictionArrayCalculator.cs" /> 96 102 <Compile Include="Operator\MatchActionOperator.cs" /> 97 103 <Compile Include="Operator\MatchConditionOperator.cs" /> 104 <Compile Include="Operator\SubScopeVariableCopier.cs" /> 98 105 <Compile Include="Operator\SumAccuracy.cs" /> 99 106 <Compile Include="Properties\AssemblyInfo.cs" /> … … 104 111 <Compile Include="Selectors\IMatchSelector.cs" /> 105 112 <Compile Include="Selectors\MatchSelector.cs" /> 113 <Compile Include="Subsumption\ActionSetSubsumptionoperator.cs" /> 114 <Compile Include="Subsumption\IActionSetSubsumption.cs" /> 106 115 <None Include="Properties\AssemblyInfo.cs.frame" /> 107 116 </ItemGroup> … … 112 121 <ItemGroup /> 113 122 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 123 <PropertyGroup> 124 <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 125 set ProjectDir=$(ProjectDir) 126 set SolutionDir=$(SolutionDir) 127 set Outdir=$(Outdir) 128 129 call PreBuildEvent.cmd 130 </PreBuildEvent> 131 </PropertyGroup> 114 132 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 115 133 Other similar extension points exist, see Microsoft.Common.targets. -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/IClassifier.cs
r9089 r9105 35 35 bool MatchCondition(IClassifier target); 36 36 bool MatchAction(IClassifier target); 37 bool IsMoreGeneral(IClassifier target); 37 38 38 39 //to use IMatching as key in a dictionary, Equals and GetHashCode have to be override. -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Interfaces/IConditionActionProblem.cs
r9090 r9105 39 39 IParameter CoveringSolutionCreatorParameter { get; } 40 40 41 IParameter ActionSetSubsumptionOperatorParameter { get; } 42 IActionSetSubsumption ActionSetSubsumptionOperator { get; } 43 41 44 new IXCSEvaluator Evaluator { get; } 42 45 }
Note: See TracChangeset
for help on using the changeset viewer.