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

3 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 9 Aug 2013
I do not understand what you mean about "how many times they repeat themselves" ?
Robert
Robert on 10 Aug 2013
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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 9 Aug 2013

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!