Changeset 9154 for branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Deletion
- Timestamp:
- 01/14/13 15:23:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Deletion/XCSDeletionOperator.cs
r9110 r9154 112 112 double averageFitnessInPopulation = fitnessSum / numerositySum; 113 113 for (int cl = 0; cl < fitnesses.Length; cl++) { 114 if (numerosities[cl].Value > 0 ) {114 if (numerosities[cl].Value > 0 && !hasToBeDeleted[cl].Value) { 115 115 voteSum += DeletionVote(averageFitnessInPopulation, averageActionSetSizes[cl].Value, numerosities[cl].Value, fitnesses[cl].Value, experiences[cl].Value); 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.