How to draw a graph with 18 levels
1 回表示 (過去 30 日間)
古いコメントを表示
Hello
I want to show the (valid) states of the river problem in the form of a graph in MATLAB and then apply search DFS on it, but the problem I have is how to draw a graph of this problem. First, I want to graph this problem using a cell, but The problem in the cell is that it is not possible to identify the child of a node. Do you have a special suggestion for this problem ??
It is assumed that the initial state is that everyone is on the left (start) side of the figure
[1 1 1 1 1 11 11] and the right (destination) in the form of [0000000000]
For example, children will be the first case
[11000000] and [00000011] and .......
Please help
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graph and Network Algorithms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!