Workpiecing together for in xrange nVeh for in xrange trainFRO -trainF

1
2
3
4
5
6
7
8
#Workpiecing together
for i in xrange(nVeh):
# (3 - 1)= 2
for j in xrange(trainFRO[i+1]-trainFRO[i]):
# 362 554
WP = WorkPiece(RO[j],RO[j+1],trains[i].no)
# 708
print trainFRO[i+1]-trainFRO[i]