Ejemplo n.º 1
0
 internal void CheckClusterConsistency()
 {
     foreach (var cluster in RootCluster.AllClustersDepthFirst())
     {
         CheckClusterConsistency(cluster);
     }
 }
Ejemplo n.º 2
0
        ///<summary>
        ///</summary>

        public void SetDebugIds()
        {
            int id = 0;

            foreach (var node in RootCluster.AllClustersDepthFirst())
            {
                node.DebugId = id++;
            }

            foreach (var node in Nodes)
            {
                if (node.DebugId == null)
                {
                    node.DebugId = id++;
                }
            }
        }