Skip to content

Commit

Permalink
no print-outs for experiment type 3 and 4
Browse files Browse the repository at this point in the history
  • Loading branch information
azhow committed Jan 16, 2017
1 parent 5282860 commit 7fb71ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions route_choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ def run():
P_INTERVAL = args.printInterval
P_DRIVERS_ROUTE = args.printDriversPerRoute

if(args.experimentType == 3 or args.experimentType == 4) and (P_DRIVERS_ROUTE or P_OD_PAIR
or P_DRIVERS_LINK or P_TRAVEL_TIME):
prs.error("You can't use print-outs with experiment type 3 or 4.")

GENERATIONS = args.generations
POPULATION = args.population
REPETITIONS = args.repetitions
Expand Down

0 comments on commit 7fb71ae

Please sign in to comment.