Changeset 9242 for branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Manipulator/UniformActionManipulator.cs
- Timestamp:
- 02/25/13 12:37:18 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3
- Property svn:ignore
-
old new 1 1 obj 2 Plugin.cs
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Manipulator/UniformActionManipulator.cs
r9204 r9242 60 60 int actionIndex = random.Next(otherActions.Count()); 61 61 VariableVectorAction newAction = otherActions.ElementAt(actionIndex); 62 return new VariableVector(child.Condition.Va lues.Select(x => x.GetSetCopy()), newAction.Values.Select(x => x.GetSetCopy()));62 return new VariableVector(child.Condition.VariableDictionary.Values.Select(x => x.GetSetCopy()), newAction.VariableDictionary.Values.Select(x => x.GetSetCopy())); 63 63 } 64 64 }
Note: See TracChangeset
for help on using the changeset viewer.