def getSelector(rangeLists): mins = fp.getSelector(rangeLists)() maxes = lp.getSelector(rangeLists)() points = set(mins + maxes) return lambda: points
def getFirstPoint(params): rangeLists = map(lambda dim: dim['range'], params['dimensions']) return fp.getSelector(rangeLists)