bloqade.lanes.heuristics.physical.movement.make_physical_placement_strategy
← Module overview
function
source
functionmake_physical_placement_strategy¶source
bloqade.lanes.heuristics.physical.movement.make_physical_placement_strategy
Signature
def make_physical_placement_strategy(*, move_solutions_per_layer: int = 3, search_budget: int | None = 300, strategy: SearchStrategyName = 'entropy', arch_spec: ArchSpec | None = None, return_moves: bool = True, target_generator: TargetGeneratorABC | TargetGeneratorCallable | None = None) -> PlacementStrategyABCBuild a physical placement strategy from user-facing search knobs.
move_solutions_per_layer maps to the Rust solver’s
max_goal_candidates. search_budget maps to the per-CZ-stage
max_expansions budget shared across target candidates.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
move_solutions_per_layer | int | 3 | |
search_budget | int | None | 300 | |
strategy | SearchStrategyName | 'entropy' | |
arch_spec | ArchSpec | None | None | |
return_moves | bool | True | |
target_generator | TargetGeneratorABC | TargetGeneratorCallable | None | None |
Returns
PlacementStrategyABC