def generateState(start, diff, stateSize, stateName):
    """Generates a dict that contains a stateName and a list of values."""
    values = []
    increment = float(1) / stateSize
    for iteration in range(int(stateSize)):
        # Get a value between start + diff
        sample = start + diff * increment * iteration
        values.append(sample)

    return {
        "stateName": stateName,
        "values": values
    }