mod hyperband¶
- module hyperband¶
Occupancy ranking for extras of a DECAF packing family.
Not Li–Jamieson Hyperband. There is no resource schedule (r, eta r, ldots). Champion of a family (lowest energy) stays. Keep (lfloor n_{mathrm{extra}} / eta rfloor) extras, (eta = 3). Surplus Leave into a leftover-SOAP hole (
crate::catalog::is_occupancy_leave_action). Rank as soon as DECAF assigns a family. Feynman–Kac epochs call the sameverdict. A sole occupant and an unassigned packing stay.Variables
- const DEFAULT_MAX_RESOURCE: u64¶
Hop cap used when the coordinator has no explicit rung ceiling.
Serial recommended Marks first hits sit at hops 33847–58779. A 1000-hop ceiling reseeds extras before any of those walks can leave the icosahedral shelf.
- const MIN_RESOURCE: u64¶
First recorded hop rung, kept for the resource helper. Ranking of an assigned DECAF family does not wait for this value.
- const REDUCTION_FACTOR: u32¶
Reduction factor (eta). Same default as Optuna
HyperbandPruner.
Functions
- fn current_rung(resource: u64, max_resource: u64) -> Option<u64>¶
Highest rung this walk has reached, if any.
- fn keep_ids(walks: &[WalkRecord], max_resource: u64) -> BTreeSet<u32>¶
Identities that
verdictkeeps, for a Feynman–Kac parent filter.
- fn prune(walks: &[WalkRecord], id: u32, max_resource: u64) -> bool¶
Whether
idis discarded at its current rung.
- fn rungs(max_resource: u64, min_resource: u64, eta: u32) -> Vec<u64>¶
Successive-halving rungs (r_{min}, eta r_{min}, ldots le R).
- fn verdict(walks: &[WalkRecord], id: u32, max_resource: u64) -> EnsembleVerdict¶
Ranking of one walk among a cohort.
Unique-family occupants and unassigned packings stay. Extra occupants of a crowded family keep the best (lfloor n/etarfloor) by energy.
Enums
- enum EnsembleVerdict¶
Keep-or-reseed decision for one walk in a Hyperband or Feynman–Kac cohort.
- Keep¶
Continue the current start.
- Reseed¶
Draw a new random start. Not a hole and not a parent clone.
Structs and Unions