Пример #1
0
            public TreePart(ushort start)
            {
                this.Nodes = NodeSetFactory.NewSet();
                this.Edges = EdgeSetFactory.NewSet();
                this.Size  = 0;

                this.Nodes.Add(start);
            }
Пример #2
0
 public TreePart(TreePart clone)
 {
     this.Nodes = NodeSetFactory.NewSet(clone.Nodes);
     this.Edges = EdgeSetFactory.NewSet(clone.Edges);
     this.Size  = clone.Size;
 }