i lab week 7 for Roel
September 24, 2021
2.If you were a manager at Apple responsible for making a decision as to whether or not Apple should license…
September 24, 2021

BFS and DFS navigation part 2

 

 

1 .- the user select the number of Nodes he wants <=15

2 .- with 0 and 1 he builds the adjacent matriz

3 .- Display it ( the adjacent matriz )

4 .- Display the adjacent list 

5 .- Build the GUI with 2 buttons 

one for BFS Navigation

one for DFS Navigation

6 .-  Display Navigation with the color

7. – When a parent node is being visited paint it black and in a queue display it part (call the queue by exemple visiting)

 

and their children paint gray

8. – After being visited send the node to another queue (call it visited for example)

9. – And a node visited paint it red

 

 

NB I provide an example with files i uploaded check it ! only missing the queues and the color changes !

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp