QDpy
Loading...
Searching...
No Matches
new_qd_families.py File Reference

Compare four QD workflows on scheduling, fidelity ladders, and arithmetic. More...

Go to the source code of this file.

Functions

 new_qd_families.make_grid (bins)
 new_qd_families.permutation (rng)
 new_qd_families.swap (parent, rng)
 new_qd_families.schedule (order)
 new_qd_families.constraints_comparison (seed, budget)
 new_qd_families.kendall (first, second)
 new_qd_families.magnitude_comparison (seed, budget)
 new_qd_families.fidelity_measure (genome, fidelity)
 new_qd_families.duration (genome, fidelity)
 new_qd_families.simulate (ask, tell, archive, workers)
 new_qd_families.fidelity_comparison (seed, budget)
 new_qd_families.arithmetic_proposal (problem, target, parent, rng)
 new_qd_families.arithmetic_verifier (problem, solution)
 new_qd_families.replay_comparison (seed, budget, export=None)
 new_qd_families.main ()

Detailed Description

Compare four QD workflows on scheduling, fidelity ladders, and arithmetic.

Definition in file new_qd_families.py.

Function Documentation

◆ arithmetic_proposal()

new_qd_families.arithmetic_proposal ( problem,
target,
parent,
rng )
Emulate a proposer that favors direct sums and sometimes misses its target.

Definition at line 216 of file new_qd_families.py.

◆ arithmetic_verifier()

new_qd_families.arithmetic_verifier ( problem,
solution )
Check a small integer expression and label its achieved strategy independently.

Definition at line 231 of file new_qd_families.py.

◆ constraints_comparison()

new_qd_families.constraints_comparison ( seed,
budget )
Measure coverage across a deadline change with or without retained alternatives.

Definition at line 71 of file new_qd_families.py.

◆ duration()

new_qd_families.duration ( genome,
fidelity )
Give candidates in the first three of eight niches longer worker durations.

Definition at line 141 of file new_qd_families.py.

◆ fidelity_comparison()

new_qd_families.fidelity_comparison ( seed,
budget )
Compare methods under one shared cost ceiling and four-worker model.

Definition at line 163 of file new_qd_families.py.

◆ fidelity_measure()

new_qd_families.fidelity_measure ( genome,
fidelity )
Measure a niche-dependent objective with shifted low-fidelity optima.

Definition at line 132 of file new_qd_families.py.

◆ kendall()

new_qd_families.kendall ( first,
second )
Count pairs of jobs whose relative order differs.

Definition at line 98 of file new_qd_families.py.

◆ magnitude_comparison()

new_qd_families.magnitude_comparison ( seed,
budget )
Compare internal niches by scoring their elites on a shared projection.

Definition at line 104 of file new_qd_families.py.

◆ main()

new_qd_families.main ( )
Run a single workload or all four and write their per-seed results.

Definition at line 275 of file new_qd_families.py.

◆ make_grid()

new_qd_families.make_grid ( bins)
Use unit descriptor bounds and a common quality scale.

Definition at line 38 of file new_qd_families.py.

◆ permutation()

new_qd_families.permutation ( rng)
Draw a permutation of all jobs.

Definition at line 44 of file new_qd_families.py.

◆ replay_comparison()

new_qd_families.replay_comparison ( seed,
budget,
export = None )
Compare verified strategy coverage at the same proposal budget.

Definition at line 257 of file new_qd_families.py.

◆ schedule()

new_qd_families.schedule ( order)
Measure weighted tardiness and the completion times of two jobs.

Definition at line 57 of file new_qd_families.py.

◆ simulate()

new_qd_families.simulate ( ask,
tell,
archive,
workers )
Replay a deterministic parallel completion schedule with virtual worker ticks.

Definition at line 147 of file new_qd_families.py.

◆ swap()

new_qd_families.swap ( parent,
rng )
Swap two distinct jobs.

Definition at line 49 of file new_qd_families.py.