Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
trafficgen 0.9.0
Logo
trafficgen 0.9.0

Contents:

  • Traffic Generator
  • Usage
  • Input files
  • Output files
  • API Reference
    • trafficgen package
      • trafficgen.ship_traffic_generator
      • trafficgen.read_files
      • trafficgen.encounter
      • trafficgen.check_land_crossing
      • trafficgen.marine_system_simulator
      • trafficgen.plot_traffic_situation
      • trafficgen.write_traffic_situation_to_file
      • trafficgen.types
        • AisNavStatus
        • AisShipType
        • BaseModelConfig
        • DataPoint
        • Dimensions
        • Encounter
        • EncounterClassification
        • EncounterRelativeSpeed
        • EncounterSettings
        • EncounterType
        • GeoPosition
        • Initial
        • InterpolationMethod
        • Leg
        • OwnShip
        • OwnShipInitial
        • PathType
        • Position
        • RouteData
        • Ship
        • ShipStatic
        • SituationInput
        • SituationInputJson
        • StringIntEnumMixin
        • TargetShip
        • TrafficSituation
        • Waypoint
      • trafficgen.utils
  • Application API
  • Changelog
  • Style Guide
  • LICENSE
Back to top
View this page

EncounterType¶

class trafficgen.types.EncounterType(*values)¶

Bases: Enum

Enumeration of encounter types.

__init__(*args, **kwds)¶

Attributes

OVERTAKING_STAND_ON

OVERTAKING_GIVE_WAY

HEAD_ON

CROSSING_GIVE_WAY

CROSSING_STAND_ON

NO_RISK_COLLISION

CROSSING_GIVE_WAY = 'crossing-give-way'¶
CROSSING_STAND_ON = 'crossing-stand-on'¶
HEAD_ON = 'head-on'¶
NO_RISK_COLLISION = 'noRiskCollision'¶
OVERTAKING_GIVE_WAY = 'overtaking-give-way'¶
OVERTAKING_STAND_ON = 'overtaking-stand-on'¶
Next
GeoPosition
Previous
EncounterSettings
Copyright © 2026, DNV AS. All rights reserved.
Made with Sphinx and @pradyunsg's Furo
On this page
  • EncounterType
    • EncounterType
      • EncounterType.__init__()
      • EncounterType.CROSSING_GIVE_WAY
      • EncounterType.CROSSING_STAND_ON
      • EncounterType.HEAD_ON
      • EncounterType.NO_RISK_COLLISION
      • EncounterType.OVERTAKING_GIVE_WAY
      • EncounterType.OVERTAKING_STAND_ON