bloqade.lanes.heuristics.physical.movement.RustPlacementTraversal
← Module overview
class
classRustPlacementTraversal¶source
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
| Name | Type | Default | Description |
|---|---|---|---|
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 |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
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 |