def linear_normalize(value, min_value, max_value):
    """Linearly normalizes given value between zero and one so
    that the given min value will map to zero and the given max
    value will map to one

    :param value: the value to be normalized
    :type value: float
    :param min_value: the value that will be mapped to zero
    :type min_value: float
    :param max_value: the value that will be mapped to one
    :type max_value: float
    :returns: float -- the normalized value
    """
    return (value - min_value) / (max_value - min_value)