def array_reverse_order_changed_locations(move):
    """Aid function for delta evaluation.

    Works with the array_swap move type.
    This function returns the locations who would have an altered evaluation
    value due to the move.

    Parameters
    ----------
    move : tuple of int
        A tuple of 2 ints that represents a single unique move.

    Returns
    -------
    range
        A range containing the locations that would have an altered evaluation
        value due to the move.

    Examples
    --------
    Some simple examples to demonstrate the behaviour:

    .. doctest::

        >>> from lclpy.evaluation.deltaeval.delta_qap \\
        ...     import array_reverse_order_changed_locations \\
        ...         as changed_locations
        ... # tests
        >>> changed_locations((4, 5))
        range(4, 6)
        >>> changed_locations((4, 9))
        range(4, 10)
        >>> changed_locations((0, 8))
        range(0, 9)

    """

    return range(move[0], move[1] + 1)