Let's assume that I have a truck going to different cities. Each city has an entrance (enter node), and exit (exit node). For instant, let's assume I have only 3 cities (which are A, C, and B). I want to make a table, that is linked to the truck. The table has 3 columns and dynamic rows. The column is: From, to, and time. The rows are created only when I visit the city. So, the first row is created when I went from origin A and sunk at depot B. The table will be filled as follows:
From I To I Time
exit A: enter B: 3:00
exit B : enter C : 2:30
exit C : enter A: 1:00
And I want another table that shows the time spent in each city and the queue for other trucks. Please try to build it from the attached model. dynamictravellingsalesmanproblem.fsm
I prefer to have a transcript to make the table if it is possible.