Changeset 9226 for branches/LearningClassifierSystems/HeuristicLab.Algorithms.LearningClassifierSystems
- Timestamp:
- 02/18/13 16:51:42 (12 years ago)
- Location:
- branches/LearningClassifierSystems
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems ¶
- Property svn:ignore
-
TabularUnified
old new 1 1 *.suo 2 bin
-
- Property svn:ignore
-
TabularUnified branches/LearningClassifierSystems/HeuristicLab.Algorithms.LearningClassifierSystems/3.3/LCSAdaptedGeneticAlgorithm.cs ¶
r9167 r9226 95 95 } 96 96 #endregion 97 98 private CheckGASubsumptionOperator checkGASubsumptionOperator; 97 99 98 100 [StorableConstructor] … … 155 157 Assigner setSubsumpByAssigner = new Assigner(); 156 158 Assigner setSubsumptionFalseAssigner = new Assigner(); 157 CheckGASubsumptionOperatorcheckGASubsumptionOperator = new CheckGASubsumptionOperator();159 checkGASubsumptionOperator = new CheckGASubsumptionOperator(); 158 160 ConditionalBranch doGASubsumptionBranch2 = new ConditionalBranch(); 159 161 ExecuteGASubsumptionOperator executeGAsubsumptionOperator = new ExecuteGASubsumptionOperator(); … … 199 201 doGASubsumptionBranch1.ConditionParameter.ActualName = DoGASubsumptionParameter.ActualName; 200 202 201 checkGASubsumptionOperator.ChildClassifiersParameter.ActualName = "CombinedIntegerVector";202 checkGASubsumptionOperator.ParentsClassifiersParameter.ActualName = "CombinedIntegerVector";203 203 checkGASubsumptionOperator.NumerositiesParameter.ActualName = "Numerosity"; 204 204 checkGASubsumptionOperator.ExperiencesParameter.ActualName = "Experience"; … … 283 283 return base.Apply(); 284 284 } 285 286 public void SetChildName(string childName) { 287 checkGASubsumptionOperator.ChildClassifiersParameter.ActualName = childName; 288 checkGASubsumptionOperator.ParentsClassifiersParameter.ActualName = childName; 289 } 285 290 } 286 291 } -
TabularUnified branches/LearningClassifierSystems/HeuristicLab.Algorithms.LearningClassifierSystems/3.3/LearningClassifierSystemMainLoop.cs ¶
r9204 r9226 79 79 private CoveringOperator covering; 80 80 private CountNumberOfUniqueActions countNumberOfUniqueActions; 81 private MatchActionOperator matchActionOperator; 82 private InsertInPopulationOperator insertInPopulation; 81 83 82 84 private LCSAdaptedGeneticAlgorithm adaptedGeneticAlgorithmMainLoop; … … 130 132 actionSelector = new ActionSelector(); 131 133 UniformSubScopesProcessor matchActionSubScopesProcessor = new UniformSubScopesProcessor(); 132 MatchActionOperatormatchActionOperator = new MatchActionOperator();134 matchActionOperator = new MatchActionOperator(); 133 135 ConditionalSelector conditionMatchSelector = new ConditionalSelector(); 134 136 ConditionalSelector actionMatchSelector = new ConditionalSelector(); … … 165 167 UniformSubScopesProcessor setDeletionFalseSubScopeProcessor2 = new UniformSubScopesProcessor(); 166 168 Assigner setDeletionFalseAssigner = new Assigner(); 167 InsertInPopulationOperatorinsertInPopulation = new InsertInPopulationOperator();169 insertInPopulation = new InsertInPopulationOperator(); 168 170 XCSDeletionOperator deletionOperatorAfterGA = new XCSDeletionOperator(); 169 171 ConditionalSelector deletionSelectorAfterGA = new ConditionalSelector(); … … 205 207 iterationCounter.IncrementParameter.ActualName = "OneIntValue"; 206 208 207 matchConditionOperator.MatchParameter.ActualName = "CombinedIntegerVector";208 209 209 conditionMatchSelector.CopySelected = new BoolValue(false); 210 210 conditionMatchSelector.ConditionParameter.ActualName = matchConditionOperator.MatchConditionParameter.ActualName; 211 211 212 countNumberOfUniqueActions.ClassifiersParameter.ActualName = "CombinedIntegerVector";213 214 doDeletionBeforeCovering.ClassifiersParameter.ActualName = "CombinedIntegerVector";215 212 doDeletionBeforeCovering.MatchConditionParameter.ActualName = matchConditionOperator.MatchConditionParameter.ActualName; 216 213 doDeletionBeforeCovering.CurrentPopulationSizeParameter.ActualName = "CurrentPopulationSize"; … … 242 239 matchActionSubScopesProcessor.Operator = matchActionOperator; 243 240 244 matchActionOperator.MatchParameter.ActualName = "CombinedIntegerVector";245 241 matchActionOperator.TargetMatchParameter.ActualName = actionSelector.SelectedActionParameter.ActualName; 246 247 predictionArrayCalculator.MatchParameter.ActualName = "CombinedIntegerVector";248 242 249 243 actionSelector.PredictionArrayParameter.ActualName = predictionArrayCalculator.PredictionArrayParameter.Name; … … 321 315 currentPopulationSizeCounter.Increment = new IntValue(2); 322 316 323 insertInPopulation.ClassifiersParameter.ActualName = "CombinedIntegerVector";324 317 insertInPopulation.NumerositiesParameter.ActualName = "Numerosity"; 325 318 insertInPopulation.HasToBeDeletedParameter.ActualName = HASTOBEDELETED; … … 462 455 463 456 countNumberOfUniqueActions.ClassifierComparerParameter.ActualName = problem.ClassifierComparerParameter.Name; 457 458 matchConditionOperator.MatchParameter.ActualName = problem.ChildName; 459 countNumberOfUniqueActions.ClassifiersParameter.ActualName = problem.ChildName; 460 doDeletionBeforeCovering.ClassifiersParameter.ActualName = problem.ChildName; 461 matchActionOperator.MatchParameter.ActualName = problem.ChildName; 462 predictionArrayCalculator.MatchParameter.ActualName = problem.ChildName; 463 insertInPopulation.ClassifiersParameter.ActualName = problem.ChildName; 464 465 adaptedGeneticAlgorithmMainLoop.SetChildName(problem.ChildName); 464 466 } 465 467 //private void ParameterizeSelectors() {
Note: See TracChangeset
for help on using the changeset viewer.