transfn#

Module containing functions for transforming objective function outputs.

Functions

trans_dot

Transform a numpy.ndarray by taking the dot product with a vector of weights

trans_flatten

Transform a numpy.ndarray by flattening it.

trans_identity_unconstrained

Treat all elements in a latent vector as unconstrained objectives.

trans_inbmax_penalty

Transform a numpy.ndarray by applying a penalty for solutions exceeding a provided maximum inbreeding level.

trans_max_inbreeding_constraint

Convert the first element in a latent vector into an inbreeding inequality constraint and leave the rest of the objectives unconstrained.

trans_ndpt_to_vec_dist

Transform a set of non-dominated points by calculating their distances to a vector.

trans_sum

Transform a numpy.ndarray by taking a summation across an axis.

trans_sum_inbmax_penalty

Transform a numpy.ndarray by taking a summation across an axis.