apd |
operators/selection/rvea.py |
(n, m), (nv, m), theta, ideal=None, gamma=None -> (n, nv) float32. |
archive_update |
operators/selection/truncation.py |
Two bounded archives -> one, as (x (cap, d), f (cap, m), cv (cap, c) | None, valid (cap,) bool). |
associate_to_reference |
operators/selection/nsga3.py |
(n, m) float32, (nv, m) float32 -> (n,) int32, (n,) float32. |
cat_violation |
operators/selection/constraint.py |
(*cvs) -> (sum_n, c) or None: None-preserving concatenate(axis=0). |
constrained_crowding_selection |
operators/selection/constraint.py |
(n, m), (n, c), count: int -> (count,) int32 index, (count,) i32 rank, (count,) f32 distance. |
constrained_env_selection |
operators/selection/constraint.py |
(n, d), (n, m), (n, c), topk: int -> (topk, d), (topk, m), (topk, c), (topk,) i32, (topk,) f32. |
constrained_rank |
operators/selection/constraint.py |
(n, m) float32, (n, c) float32, count: int|None -> (n,) int32: PlatEMO NDSort. |
constrained_ref_vec_guided |
operators/selection/rvea.py |
(n, d), (n, m), (nv, m), theta, (n, c)|None -> (nv, d), (nv, m), (nv, c)|None, (nv,) bool. |
constrained_tournament_selection |
operators/selection/constraint.py |
key, n_round: int, (n,) float32, (n, c), tournament_size: int = 2 -> (n_round,) int32. |
constraint_domination |
operators/selection/constraint.py |
(n1, c), (n2, c) -> (n1, n2) bool: total_x < total_y (pure CV order). |
constraint_improvement |
operators/selection/constraint.py |
objective_delta, old_total, new_total -> float32: violation change first. |
constraint_keys |
operators/selection/constraint.py |
(*keys, cv=None) -> list: keys, plus total_violation(cv) last. |
crowding_distance_by_rank |
operators/selection/truncation.py |
(n, m) float32, (n,) int32, constant_boundaries: bool = False -> (n,) float32. |
distance_truncation |
operators/selection/truncation.py |
(n, n) float32, count: int, neighbors: int | None = None -> (count,) int32. |
environmental_selection |
operators/selection/pareto.py |
(n, d), (n, m), topk: int, cv=None -> (x, f, cv, rank, crowding) cut to topk. |
epsilon_constraint |
operators/selection/constraint.py |
(n, m), (n, c), epsilon -> (n,) int32: epsilon-constraint rank. |
epsilon_level |
operators/selection/constraint.py |
gen, max_gen: int, eps0: float, cp: float = 5.0: eps0 * (1 - gen/max_gen)**cp. |
grid_archive_select |
operators/selection/grid.py |
(n, m) float32, capacity: int, div: int -> (capacity,) int32 PESA-II truncation. |
grid_bounds |
operators/selection/grid.py |
(n, m) float32, div: int, margin: bool = False -> (m,) float32, (m,) float32. |
grid_density |
operators/selection/grid.py |
(n, n) bool -> (n,) int32: number of rows sharing each row's cell (self included). |
grid_difference |
operators/selection/grid.py |
(n, m) int32 -> (n, n) float32: GrEA's grid difference GD(i, j). |
grid_dominance |
operators/selection/grid.py |
(n, m) int32 -> (n, n) bool: out[i, j] iff cell i grid-dominates cell j. |
grid_locations |
operators/selection/grid.py |
(n, m) float32, (m,) float32, (m,) float32, div: int -> (n, m) int32 cell coordinates. |
grid_representatives |
operators/selection/grid.py |
(n, n) bool -> (n,) bool: True for the lowest-index row of every cell. |
grid_same_cell |
operators/selection/grid.py |
(n, m) int32 -> (n, n) bool: same[i, j] iff rows i and j share a cell. |
group_counts |
operators/selection/nsga3.py |
(n,) int32, (n,) bool, n_groups: int -> (n_groups,) int32. |
is_feasible |
operators/selection/constraint.py |
(n, c) -> (n,) bool: total_violation(cv) == 0. |
kth_neighbor_distance |
operators/selection/grid.py |
(n, m) float32, k: int -> (n,) float32 distance to the k-th nearest other row. |
niche_counts |
operators/selection/grid.py |
(n, m) float32, radius: float -> (n,) int32 rows inside each row's niche. |
niching |
operators/selection/nsga3.py |
(key, (n,) i32, (n,) f32, count: int, n_ref: int, valid=None, complete=None) -> (count,) i32. |
normalize_objectives |
operators/selection/nsga3.py |
(n, m) float32, mask=None, ideal=None -> (n, m) float32, (m,) float32. |
pareto_rank |
operators/selection/pareto.py |
(n, m) float32, cv=None -> (n,) int32: zero-based non-dominated rank. |
prefer_by_constraint |
operators/selection/constraint.py |
(bool), total, total -> bool: (cand < inc) | ((cand == inc) & objective_better). |
rank_with_constraints |
operators/selection/constraint.py |
(n, m) float32, (n, c) float32 -> (n,) int32: Deb's feasibility-first rank. |
reference_vector_adaptation |
operators/selection/rvea.py |
(nv, m) float32, (n, m) float32, guard_nonpositive: bool = False -> (nv, m) f32. |
reference_vector_geometry |
operators/selection/rvea.py |
(n, m) float32, (nv, m) float32 -> (n,) i32, (n,) f32, (nv,) f32, (m,) f32. |
take_rows |
operators/selection/pareto.py |
(k,) int, (n, d), (n, m), cv=None -> (k, d), (k, m), (k, c) | None row subset. |
take_violation |
operators/selection/constraint.py |
(n, c), (k,) int -> (k, c) or None: None-preserving row gather. |
topk_by_keys |
operators/selection/truncation.py |
(*keys, k: int) -> (k,) int32: the first k rows of the lexicographic order. |
total_violation |
operators/selection/constraint.py |
(n, c) float32 -> (n,) float32 summed constraint violation. |
unique_rows_sorted |
operators/selection/truncation.py |
(n, k) float32 -> ((n, k) float32, (n,) bool, (n,) int32): sorted rows and duplicates. |