carputils
Doxygen code documentation for the python framework controlling openCARP
Functions
carputils.polling Namespace Reference

Functions

def process_polling_file (polling_file, polling_param, polling_range, sampling)
 Generate polling input file if polling_param and polling_range is set. More...
 
def set_polling_options (cmd, polling_file, gen_subdir=True)
 Set polling options and new sim ID. More...
 

Function Documentation

◆ process_polling_file()

def carputils.polling.process_polling_file (   polling_file,
  polling_param,
  polling_range,
  sampling 
)

Generate polling input file if polling_param and polling_range is set.

Check polling file if polling_param is None

Parameters
polling_filepolling input or output file name
polling_paramparameter for polling experiment
polling_rangerange of polling parameter in the format min max nr_points
samplingsampling type; latin-hypercube ('lhs'), 'linear' or 'geometric' sampling

◆ set_polling_options()

def carputils.polling.set_polling_options (   cmd,
  polling_file,
  gen_subdir = True 
)

Set polling options and new sim ID.