Interface VehicleTypeGetSigma

All Known Implementing Classes:
VehicleTypeGetSigma, VehicleTypeGetSigma

public interface VehicleTypeGetSigma
This class reads the sigma value for specific a vehicle type.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    execute(Bridge bridge, String vehicleTypeId)
    This method executes the command with the given arguments in order to get the sigma value of a specific vehicle type.
  • Method Details

    • execute

      double execute(Bridge bridge, String vehicleTypeId) throws CommandException, InternalFederateException
      This method executes the command with the given arguments in order to get the sigma value of a specific vehicle type.
      Parameters:
      bridge - Connection to SUMO.
      vehicleTypeId - Id of the vehicle type.
      Returns:
      the value of the parameter, or null if not present
      Throws:
      CommandException - if the status code of the response is ERROR. The connection to SUMO is still available.
      InternalFederateException - if some serious error occurs during writing or reading. The connection to SUMO is shut down.