parameters: (self, vehicles, controlInterval, registerVehicles=True)
docstring: Platoon(list(PVehicle), float, bool) -> Platoon
  
          Create a Platoon object that holds an ordered list of its members, which is inititialized with 'vehicles'.
          Creator is responsible for setting the platoon mode of the vehicles. If registerVehicles is set, the vehicle's
          platoon reference veh._platoon is set to the newly created platoon. 'deltaT' is the control interval provided
          to give the platoon a sense of time (used for decreasing active speed factor when trying to switch modes
          unsuccessfully).
docstring_summary: Platoon(list(PVehicle), float, bool) -> Platoon
docstring_tokens: Platoon ( list ( PVehicle ) float bool ) - > Platoon
function: def __init__(self, vehicles, controlInterval, registerVehicles=True):
          '''Platoon(list(PVehicle), float, bool) -> Platoon
  
          Create a Platoon object that holds an ordered list of its members, which is inititialized with 'vehicles'.
          Creator is responsible for setting the platoon mode of the vehicles. If registerVehicles is set, the vehicle's
          platoon reference veh._platoon is set to the newly created platoon. 'deltaT' is the control interval provided
          to give the platoon a sense of time (used for decreasing active speed factor when trying to switch modes
          unsuccessfully).
          '''
          self._ID = Platoon._nextID
          Platoon._nextID += 1
          self._vehicles = vehicles
          if registerVehicles:
              self.registerVehicles()
  
          self._controlInterval = controlInterval
function_tokens: def __init__ ( self , vehicles , controlInterval , registerVehicles = True ) : self . _ID = Platoon . _nextID Platoon . _nextID += 1 self . _vehicles = vehicles if registerVehicles : self . registerVehicles ( ) self . _controlInterval = controlInterval