Changeset 10833 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeCrossoverOperator.cs
- Timestamp:
- 05/11/14 00:03:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeCrossoverOperator.cs
r10755 r10833 20 20 #endregion 21 21 22 using System;23 22 using System.Linq; 24 23 using HeuristicLab.Core; … … 35 34 36 35 for (int i = 0; i < parents.Count; ++i) { 37 var nodes = parents[i].IterateNodesPrefix().ToList(); 38 arcs[i].Data = nodes; 36 arcs[i].Data = parents[i].IterateNodesPrefix().ToList(); 39 37 } 40 var parentVertices = childVertex.Parents.ToList(); 41 if (parents[0].Length != parentVertices[0].Content.Length || parents[1].Length != parentVertices[1].Content.Length) { 42 throw new Exception("Inconsistency detected in GenealogyGraph."); 43 } 38 39 // var parentVertices = childVertex.Parents.ToList(); 40 // 41 // if (parents[0].Length != parentVertices[0].Content.Length || parents[1].Length != parentVertices[1].Content.Length) { 42 // throw new Exception("Inconsistency detected in GenealogyGraph."); 43 // } 44 44 45 45 return result;
Note: See TracChangeset
for help on using the changeset viewer.