Changeset 11253 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeManipulatorOperator.cs
- Timestamp:
- 07/31/14 17:11:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeManipulatorOperator.cs
r11233 r11253 32 32 var vChild = (IGenealogyGraphNode<ISymbolicExpressionTree>)GenealogyGraph.GetByContent(ChildParameter.ActualValue); 33 33 var vClone = vChild.Parents.Last(); 34 vChild.InArcs.First().Data = vClone. Content.IterateNodesPrefix().ToList();34 vChild.InArcs.First().Data = vClone.Data.IterateNodesPrefix().ToList(); 35 35 36 36 var fragment = (IFragment<ISymbolicExpressionTreeNode>)vClone.InArcs.Last().Data; … … 38 38 // this step must be performed because the fragment root actually references the original child (not the clone). 39 39 // then, a mutation operation (acting on the original child), could disrupt it 40 fragment.Root = vClone. Content.IterateNodesPrefix().ElementAt(fragment.Index1);40 fragment.Root = vClone.Data.IterateNodesPrefix().ElementAt(fragment.Index1); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.