Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 2 Forum
Date: Fri Sep 14 2001 12:43 pm
Author: Agarwal, Aditya <adityaa@andrew.cmu.edu>
Subject: Re: Number of Walls to be knocked down vs Number of Rooms

Actually, the case is that when you create a spanning tree with no cycles, the the number of edges must be equal to (n-1), where n is the number of nodes. In the case of the spanning tree that we are creating here, the nodes are the rooms and the edges are the walls that have been knocked down.
Therefore, yes, the number of walls that are going to be knocked down will always be less than the number of rooms.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
Number of Walls to be knocked down vs ...      Chow, Jicai Jonathan      Thu Sep 13 2001 11:37 pm       
Re: Number of Walls to be knocked d...      Douglas, Keith      Fri Sep 14 2001 12:25 pm       
Re: Number of Walls to be knocked d...      Agarwal, Aditya      Fri Sep 14 2001 12:43 pm       
Re: Number of Walls to be knocke...      Han, Shanshan      Sat Sep 15 2001 10:01 am       
Re: Number of Walls to be kno...      Shi, Ying      Sat Sep 15 2001 12:09 pm       
Re: Number of Walls to be ...      Agarwal, Aditya      Sat Sep 15 2001 5:28 pm       
Re: Number of Walls to be kno...      Agarwal, Aditya      Sat Sep 15 2001 5:26 pm       
Re: Number of Walls to be ...      Cipriani, Jason A.      Sat Sep 22 2001 2:05 pm       
Re: Number of Walls to ...      Agarwal, Aditya      Sat Sep 22 2001 3:20 pm       
Re: Number of Walls ...      Bortz, Andrew S.      Sat Sep 22 2001 3:28 pm       

Back to previous screen