"""
@file    constants.py
@author  Michael.Behrisch@dlr.de
@date    2008-07-21
@version $Id: constants.py 6799 2009-02-15 23:58:32Z behrisch $

Defining constants for the CityMobil parking lot.

Copyright (C) 2008 DLR/TS, Germany
All rights reserved
"""
import os

INFINITY = 1e400

PREFIX = "park" 
DOUBLE_ROWS = 8
ROW_DIST = 35
STOP_POS = ROW_DIST-12
SLOTS_PER_ROW = 10
SLOT_WIDTH = 5
SLOT_LENGTH = 9
SLOT_FOOT_LENGTH = 5
CAR_CAPACITY = 3
CYBER_CAPACITY = 20
BUS_CAPACITY = 30
TOTAL_CAPACITY = 60
CYBER_SPEED = 5
CYBER_LENGTH = 9
WAIT_PER_PERSON = 5
OCCUPATION_PROBABILITY = 0.5
BREAK_DELAY = 1200

PORT = 8813
if os.name == "posix":
    NETCONVERT = "../../../src/sumo-netconvert"
    SUMO = "../../../src/sumo"
    SUMOGUI = "../../../src/sumo-guisim"
else:
    NETCONVERT = "..\\..\\..\\bin\\netconvert"
    SUMO = "..\\..\\..\\bin\\sumo"
    SUMOGUI = "..\\..\\..\\bin\\guisim"
