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

Compare novelty ES, Q-learning for operator selection, and deep-archive allocation. More...

Go to the source code of this file.

Functions

 adaptive_diversity.maze_path (vector)
 adaptive_diversity.novelty_trial (seed, budget)
 adaptive_diversity.sample_schedule (rng)
 adaptive_diversity.swap_jobs (genome, rng)
 adaptive_diversity.change_machine (genome, rng)
 adaptive_diversity.evaluate_schedule (genome, seed)
 adaptive_diversity.scheduling_trial (seed, budget)
 adaptive_diversity.depth_trial (seed, budget)

Detailed Description

Compare novelty ES, Q-learning for operator selection, and deep-archive allocation.

Definition in file adaptive_diversity.py.

Function Documentation

◆ change_machine()

adaptive_diversity.change_machine ( genome,
rng )
Reassign one operation to another machine.

Definition at line 81 of file adaptive_diversity.py.

◆ depth_trial()

adaptive_diversity.depth_trial ( seed,
budget )
Compare competitive and equal-budget acquisition on three frame configurations.

Definition at line 125 of file adaptive_diversity.py.

◆ evaluate_schedule()

adaptive_diversity.evaluate_schedule ( genome,
seed )
Decode job precedence and score energy, transports, and idle periods.

Definition at line 89 of file adaptive_diversity.py.

◆ maze_path()

adaptive_diversity.maze_path ( vector)
Stop a two-segment path at the first contact with a vertical wall.

Definition at line 18 of file adaptive_diversity.py.

◆ novelty_trial()

adaptive_diversity.novelty_trial ( seed,
budget )
Compare a shared novelty history with a grid-based ES baseline.

Definition at line 32 of file adaptive_diversity.py.

◆ sample_schedule()

adaptive_diversity.sample_schedule ( rng)
Sample an operation order and a machine choice for each operation.

Definition at line 68 of file adaptive_diversity.py.

◆ scheduling_trial()

adaptive_diversity.scheduling_trial ( seed,
budget )
Compare tabular selection, uniform selection, and UCB1 on the same operators.

Definition at line 113 of file adaptive_diversity.py.

◆ swap_jobs()

adaptive_diversity.swap_jobs ( genome,
rng )
Swap two positions in the dispatch order while retaining machine assignments.

Definition at line 73 of file adaptive_diversity.py.