Skip to main content

Module permutations

Module permutations 

Source
Expand description

Permutation calculator for Best in Bags.

Modules§

cost 🔒
space 🔒

Structs§

Candidate
Candidate item for a slot.
CostAnalysis
Pre-computed cost analysis.
PermutationError
Invalid or unsupported permutation-space construction.
PermutationSpace
Cartesian product space.
ScreeningRow
Cost row for one screening keep percentage.
SlotCandidates
One slot with its candidates.

Enums§

CandidateSource
Where a candidate came from.

Constants§

MAX_CANDIDATES_PER_SLOT
A mixed-radix choice is stored as u8, so one slot can expose at most 256 candidates.
MAX_PERMUTATION_TOTAL
Largest exactly representable integer in JavaScript’s number type.

Functions§

build_space
Build a permutation space from a parsed SimC profile.
build_space_for_selection
Build a permutation space restricted to user-selected bag/weekly items.
compute_cost_analysis
Compute cost analysis for a permutation space.
tournament_payload
Tournament slot_candidates payload; contested slots only.