Skip to content

spatial-monorepo


spatial-monorepo / wayfinding/src / VenueAvoidancePolicy

Interface: VenueAvoidancePolicy

Defined in: packages/wayfinding/src/occupancy-zones.ts:27

Per-venue policy for how occupied/reserved rooms are treated by the relaxation ladder / legacy cost model. This is the exact knob issue #473 flags "ready-for-human" (soft vs hard block default, and how per-venue overrides are exposed) — see the PR's "Policy/UX decision defaulted" note for the reasoning behind DEFAULT_VENUE_AVOIDANCE_POLICY below.

Properties

occupiedRoomBlockMode?

optional occupiedRoomBlockMode?: RoomBlockMode

Defined in: packages/wayfinding/src/occupancy-zones.ts:29

Block mode applied to rooms reported occupied (occupancy.in_use). Default 'soft'.


reservedRoomBlockMode?

optional reservedRoomBlockMode?: RoomBlockMode

Defined in: packages/wayfinding/src/occupancy-zones.ts:31

Block mode applied to rooms with an active reservation. Default 'soft'.


softCostMultiplier?

optional softCostMultiplier?: number

Defined in: packages/wayfinding/src/occupancy-zones.ts:33

Cost multiplier used for 'soft'-mode zones (legacy 'graph' engine + informational on the grid engine). Default 10.

Released under commercial licensing.