Mercurial Hosting > traffic-intelligence
diff trafficintelligence/moving.py @ 1219:8a626226793e
update where optimization uses either nomad-parameter file depending on optimizing 1 or 2 steps
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 19 Jun 2023 17:09:56 -0400 |
parents | 1f0b1fc172f8 |
children | 69b531c7a061 |
line wrap: on
line diff
--- a/trafficintelligence/moving.py Sat Jun 17 08:48:22 2023 -0400 +++ b/trafficintelligence/moving.py Mon Jun 19 17:09:56 2023 -0400 @@ -1363,14 +1363,14 @@ 'truck', 'automated'] -coco2UserTypes = {1: 2, 2: 4, 3: 1, 6: 5, 8: 6} -cocoUserTypeNames = {1: person, - 2: bicycle, - 3: car, - 4: motorcycle, - 6: bus, - 7: train, - 8: truck} +coco2UserTypes = {0: 2, 1: 4, 2: 1, 5: 5, 7: 6} +cocoUserTypeNames = {0: 'person', + 1: 'bicycle', + 2: 'car', + 3: 'motorcycle', + 5: 'bus', + 6: 'train', + 7: 'truck'} userType2Num = utils.inverseEnumeration(userTypeNames)