iwopy.core.Memory.lookup_population(vars_int, vars_float, target=None)[source]

Lookup results from memory.

Parameters

vars_int: np.array

The integer variable values, shape: (n_pop, n_vars_int)

vars_float: np.array

The float variable values, shape: (n_pop, n_vars_float)

target: numpy.ndarray, optional

The results array to write to, shape: (n_pop, n_objs_cmpnts + n_cons_cmpnts)

Returns

results: numpy.ndarray or None

None if no results at all found, otherwise array with shape: (n_pop, n_objs_cmpnts + n_cons_cmpnts)