Changeset 10677 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Analyzers
- Timestamp:
- 03/28/14 16:23:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Analyzers/GenealogyAnalyzer.cs
r10675 r10677 230 230 previousVertex.AddForwardArc(vertex); 231 231 vertex.AddReverseArc(previousVertex); 232 vertex.InArcs.Last().Data = previousVertex.InArcs.Last().Data; // save the fragment in case there is one 233 vertex.Id = previousVertex.Id; 232 vertex.Id = previousVertex.Id; // another way would be to introduce the vertex.Id into the scope of the elite 233 if (previousVertex.InArcs.Any()) { 234 vertex.InArcs.Last().Data = previousVertex.InArcs.Last().Data; // save the fragment in case there is one 235 } 234 236 } 235 237 }
Note: See TracChangeset
for help on using the changeset viewer.