Transform a matrix to a tree
Hello people
I have a 2 dimension array that contains only 0 and 1 values. I want to represent all the 0 elements in a tree: how can I do that ?
Thank you for any help
begueradj
Junior Poster in Training
70 posts since Mar 2007
Reputation Points: 9
Solved Threads: 0
Could you be more specific?
mikrosfoititis
Junior Poster in Training
74 posts since Nov 2011
Reputation Points: 18
Solved Threads: 11
Could you be more specific?
I have a random matrix that contains only 0 and 1 values, like this one:
111111111111
100010100101
100101011101
100000000101
100001010101
111000001011
111111111111
I want to know what is the algorithm to use in order to represent all the 0 elements that have connexion between them starting from a predefined start cell and ending by a predefined end cell in the form of a tree
begueradj
Junior Poster in Training
70 posts since Mar 2007
Reputation Points: 9
Solved Threads: 0