Changeset 11968 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking
- Timestamp:
- 02/07/15 02:04:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/TraceCalculator.cs
r11925 r11968 92 92 int si = subtreeIndex; // subtree index 93 93 int fi = 0; // fragment index 94 while (g.Parents.Any()) { 94 while (((List<IArc>)((IVertex)g).InArcs).Count > 0) { 95 // while (g.Parents.Any()) { 95 96 Debug.Assert(si < g.Data.Length); 96 97 var inArcs = (List<IArc>)((IVertex)g).InArcs; … … 217 218 int lastFi = lastTraceData.FragmentIndex; // last fragment index (index of the fragment in the previous trace node) 218 219 var td = new TraceData(si, fi, lastSi, lastFi); // trace data 219 var arc = current.OutArcs.SingleOrDefault(a => a.Target == last && a.Data.Equals(td)); 220 //var arc = current.OutArcs.SingleOrDefault(a => a.Target == last && a.Data.Equals(td)); 221 var outArcs = (List<IArc>)((IVertex)current).OutArcs; 222 var arc = outArcs.FirstOrDefault(a => a.Target == last && ((IArc<IDeepCloneable>)a).Data.Equals(td)); 220 223 if (arc == null) { 221 224 arc = new GenealogyGraphArc(current, last) { Data = td };
Note: See TracChangeset
for help on using the changeset viewer.