saealib.EvaluationResult

class saealib.EvaluationResult(f, g, cv)[source]

Bases: object

Batched result of evaluating a set of design vectors.

Parameters:
  • f (ndarray)

  • g (ndarray)

  • cv (ndarray)

f

Objective values. shape = (n, n_obj)

Type:

np.ndarray

g

Raw constraint values. shape = (n, n_constraints). Has shape (n, 0) when the problem defines no constraints.

Type:

np.ndarray

cv

Aggregate constraint violation per candidate. shape = (n, ) All zeros when the problem defines no constraints.

Type:

np.ndarray

Methods

Method Details

EvaluationResult.__init__(f, g, cv)
Parameters:
  • f (ndarray)

  • g (ndarray)

  • cv (ndarray)

Return type:

None