trafficgen.types¶
Domain specific data types used in trafficgen.
Functions
Create a DataPoint class. |
|
Create a (Ship) Initial class. |
|
Create a OwnShip class. |
|
Create a position class. |
|
Create a Ship class. |
|
Create a ShipStatic class. |
|
Create a TargetShip class. |
|
Create a Waypoint class. |
|
|
Return a camel case formated string from snake case string. |
Classes
|
AIS Navigational Status. |
|
AIS Ship Type (not including cargo type). |
Enables the alias_generator for all cases. |
|
|
Data type for storing data which is numerical and continuos. |
|
Key Ship Dimensions. |
|
Data type for an encounter. |
|
Data type for the encounter classification. |
|
Data type for relative speed between two ships in an encounter. |
|
Data type for encounter settings. |
|
Enumeration of encounter types. |
|
Data type for a geographical position. |
|
Data type for initial data for a ship . |
|
Specifies the interpolation method used to interpolate between two values. |
|
Data type for a leg. |
|
Data type for the own ship. |
|
Data type for initial data for the own ship used for generating a situation. |
|
Specifies the control-point model used to define the path for the ship to follow. |
|
Data type for ship position. |
|
Data type for data along a route. |
|
Data type for a ship. |
|
Static ship data that will not change during the scenario. |
|
Data type for inputs needed for generating a situations. |
|
Data type for generating traffic situations from JSON payloads. |
|
A mixin class for Enums that allows both integers and strings to specify a type. |
|
Data type for the target ship. |
|
Data type for a traffic situation. |
|
Data type for a waypoint. |
- trafficgen.types.create_position_example() GeoPosition¶
Create a position class.
- trafficgen.types.create_ship_static_example() ShipStatic¶
Create a ShipStatic class.
- trafficgen.types.create_target_example() TargetShip¶
Create a TargetShip class.
- trafficgen.types.to_camel(string: str) str¶
Return a camel case formated string from snake case string.