How to draw a graph with 18 levels

1 回表示 (過去 30 日間)
lech king
lech king 2020 年 12 月 6 日
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 件)

カテゴリ

Help Center および File ExchangeGraph and Network Algorithms についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by