// constructor public PCSTree() { this.pRoot = null; this.maxNodeCount = 0; this.numNodes = 0; // create the root PCSNode pcsRoot = new PCSRootNode(PCSTree.Name.Root); this.Insert(pcsRoot, null); }
//Methods ----------------------------------------------------- // constructor public PCSTree() { this.maxNodeCount = 0; this.numNodes = 0; // create the root node PCSNode pcsRoot = new PCSRootNode(PCSTree.Name.RootTree); //parent is null since inserting root; this.Insert(pcsRoot, null); }