BFS and DFS Navigation in Java Part 2
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 !
13 years ago 20
Answer(0)
Bids(0)
other Questions(10)
- Need help with my homework
- Why would peoplw visit malawi
- 1. Assume that shared variable x is initially 0 and that threads T1 and T2 are as follows: ...
- the functional unit of the kidney is the a. nephron b. renal artery c. ureter d....
- tudor word i dont know
- Who went on the Crusades to the Holy Land
- 21x^2=-11x+40
- Problem 63 Page 734
- Solve the problem. The weights of the fish in a certain lake are normally distributed with a mean of 19...
- 1/6, 2/9, and 7/36 least to greatest