Hi All,
We now have a mock schedule for the agent movements for simulating routine
activity, as mentioned below:
_____________________________________________________
*Notations*:
home -> office: ho1, ho2, ho3 are times taken for the three shortest routes
home -> mall: hm1, hm2, hm2
office -> bar: ob1, ob2, ob3
bar -> home: bh1, bh2, bh3
For lunch there are 3 options: office-cafe, luncha and lunchb
office -> luncha : ola1, ola2
office -> lunchb : olb1, olb2
* means agent can take hybrid motion, with the time bound calculated as:
if the longest beeline route takes x minutes, * rounds it off to the
nearest hour (if this adds less than 10 minutes, add 30 mins to this)
office starts at 9.00 and ends at 6.00; lunch is 12 - 1
_________________________________________________________________
The *weekly agent schedule* is as follows:
Monday : (9.00 - ho1) to 9.00 : go from home to office
(since we have only ho1,
he has to use beeline)
6.00 to (6.00 +hb1) : goto bar
8.30 to * : go home
(here we have enough time to take any
route - so choose a route at random)
Tuesday : (9.00 - ho2) to 9.00 : go from home to office
(choose route1 or 2 at
random)
12 to (12 + ola1) : goto lunch at a
(1-ola1 to 1) : go back to office
6.00 to (6.00 +hb2) : goto bar
8.30 to * : go home
Wednesday : (9.00 - ho3) to 9.00 : go from home to office
12 to (12 + ola1) : goto lunch at a
(1-ola1) to 1 : go back to office
6.00 to (6.00 + hb3): goto bar
8.30 to * : go home
Thursday : (9.00 - ho3) to 9.00 : go from home to office
6.00 to (6.00 + hb3): goto bar
9.00 to * : go home
Friday : (9.00 - ho3) to 9.00 : go from home to office
12 to (12 + olb1) : goto lunch at b
(1-olb1) to 1 : go back to office
6.00 to (6.00 + hb3): goto bar
10.00 to * : go home
Saturday: 10 to * : go to grocery shop
2.00 to * go home
3.00 - 6.00 roam around and end at the bar
10.00 - * go home
Sunday: 11.00 to 12.30 - roam around ending at some restaurant
1.30 - 6.30 - roam around ending at bar
9.30 - * go home
__________________________________________________________
The first task involves substituting the actual values of ho1, ho2 ho3,
hb1,... ola1.. etc into the schedule, based on the city and locations
marked by the user. I have already done this part of the implementation.
The next part is to use the functions I have coded earlier for agent
movements for simulating routing activity. I am working in this part now.
Thanks,
Nadeem