How to create an array with alll possible paths from the tree diagram

4 次查看(过去 30 天)
Here I described my problem (It is about assembly line balancing but it doesn't matter) http://i.imgur.com/q0Txlhi.png Could you help me and give me some suggestion, the easiest way how to form a matrix like I put in the picture. I've calculated all possibile connections - pairs and which tasks and how many times they repeat themselves: http://i.imgur.com/ab0pbvq.png I'm trying to connect this all together for 3 days but I can't cope with it. Thank you for any help
  2 个评论
Walter Roberson
Walter Roberson 2013-8-9
I do not understand what you mean about "how many times they repeat themselves" ?
Robert
Robert 2013-8-10
http://i.imgur.com/ab0pbvq.png In the T_repetable(:,:,1) are numbers of tasks and in T_repetable(:,:,2) are values how many timest these tasks are repeating - how many branches tasks have in the diagram. This matrix is only for the tasks which have more than 1 branch.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2013-8-9

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by