Servers and Clients
Generic
- class Server(sampling_data, monitor, options={})[source]
Generic server for communicating with an external simulator.
Dynamic Scenic
- class ScenicServer(sampling_data, monitor, options={})[source]
Server
for use with dynamic Scenic scenarios.Supported server options:
maxSteps
: maximum number of time steps to run a simulation;verbosity
: verbosity level (as in the Scenic--verbosity
option);maxIterations
: maximum number of iterations for rejection sampling;simulator
: ScenicSimulator
to use, orNone
(the default) to use one specified in the scenario.