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 CenterFile Exchange 中查找有关 Graph 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