delphyne_demos
demos.mobil_perf Namespace Reference

Functions

def benchmark (setup_fn)
 Supporting Classes & Methods. More...
 
def curved_lanes (args)
 
def straight_lanes (args)
 
def dragway (args)
 
def parse_arguments ()
 
def main ()
 Main. More...
 

Function Documentation

◆ benchmark()

def demos.mobil_perf.benchmark (   setup_fn)

Supporting Classes & Methods.

Helper decorator to register benchmark simulation
setup functions.

◆ curved_lanes()

def demos.mobil_perf.curved_lanes (   args)
Sets up a simulation with `args.num_cars` MOBIL cars on a few
lanes of a curved (arc) road.

◆ dragway()

def demos.mobil_perf.dragway (   args)
Sets up a simulation with `args.num_cars` MOBIL cars on a dragway
road with four (4) lanes.

◆ main()

def demos.mobil_perf.main ( )

Main.

Keeping pylint entertained.

◆ parse_arguments()

def demos.mobil_perf.parse_arguments ( )

◆ straight_lanes()

def demos.mobil_perf.straight_lanes (   args)
Sets up a simulation with `args.num_cars` MOBIL cars on a few
lanes of a straight road.