Skip to content

bloqade.lanes.heuristics.physical.movement.RustPlacementTraversal

← Module overview

classRustPlacementTraversalsource

bloqade.lanes.heuristics.physical.movement.RustPlacementTraversal

Config for the Rust MoveSolver.

Signature
class RustPlacementTraversal(strategy: SearchStrategyName = 'entropy', max_movesets_per_group: int = 3, max_goal_candidates: int = 3, max_expansions: int | None = 300, restarts: int = 1, lookahead: bool = False, collect_entropy_trace: bool = False)

restarts and lookahead are now exposed and threaded into SolveOptions; per-strategy entropy knobs (max_movesets_per_group, max_goal_candidates, collect_entropy_trace) feed EntropyOptions via solve_options_from_traversal.

Not yet exposed (Rust defaults used): weight, deadlock_policy, w_t. These will be threaded through once validated via Rust-only benchmarking.

Parameters

NameTypeDefaultDescription
strategySearchStrategyName'entropy'
max_movesets_per_groupint3
max_goal_candidatesint3
max_expansionsint | None300
restartsint1
lookaheadboolFalse
collect_entropy_traceboolFalse

Attributes

NameTypeDefaultDescription
strategySearchStrategyName'entropy'
max_movesets_per_groupint3
max_goal_candidatesint3
max_expansionsint | None300
restartsint1
lookaheadboolFalse
collect_entropy_traceboolFalse