Class InfrastructureLaneChangeInfoToledo

    • Constructor Detail

      • InfrastructureLaneChangeInfoToledo

        public InfrastructureLaneChangeInfoToledo​(int requiredNumberOfLaneChanges,
                                                  LaneStructureRecord record,
                                                  int splitNumber)
                                           throws GTUException
        Parameters:
        requiredNumberOfLaneChanges - int; number of lane changes
        record - LaneStructureRecord; record
        splitNumber - int; number of the split along the road
        Throws:
        GTUException - if the split number is below 1
    • Method Detail

      • forSplit

        public final boolean forSplit()
        Returns whether this information regards a split in the road.
        Returns:
        whether this information regards a split in the road
      • getSplitNumber

        public final int getSplitNumber()
        Returns the split number.
        Returns:
        split number