Class GeneratorPositions.LaneBiases

    • Constructor Detail

      • LaneBiases

        public LaneBiases()
    • Method Detail

      • contains

        public boolean contains​(GTUType gtuType)
        Whether a bias is defined for the given type.
        Parameters:
        gtuType - GTUType; GTU type
        Returns:
        whether a bias is defined for the given type
      • getBias

        public GeneratorPositions.LaneBias getBias​(GTUType gtuType)
        Returns the bias of given GTU type, or Bias.None if none defined for the GTU type.
        Parameters:
        gtuType - GTUType; GTU type
        Returns:
        Bias; bias of the GTU type