Expand description
Domain model traits for defining planning problems
These traits define the structure of a planning problem:
PlanningSolution: The container for the complete problem and solutionPlanningEntity: Things that can be planned/optimizedProblemFact: Immutable input dataPlanningId: Unique identification for entities
Structs§
- Dynamic
List Access Capabilities - Object-safe dynamic list variable access.
- Dynamic
List Metadata Capabilities - Immutable capabilities bound to one dynamic planning-list slot.
- Dynamic
List Variable Slot - Public dynamic list variable slot.
- Dynamic
Scalar Assignment Metadata Capabilities - Structural capabilities supplied by a dynamic scalar-assignment group.
- Dynamic
Scalar Variable Slot - Public dynamic scalar variable slot.
- Entity
Class Id - Logical planning-entity class identifier.
- Entity
Collection Extractor - A concrete entity extractor for a specific solution and entity type.
- Entity
Descriptor - Describes a planning entity type at runtime.
- Entity
Ref - A reference to a planning entity with its index in the solution.
- Problem
Fact Class Id - Logical problem-fact class identifier.
- Problem
Fact Descriptor - Describes a problem fact type at runtime.
- Solution
Descriptor - Describes a planning solution at runtime.
- Variable
Descriptor - Describes a planning variable at runtime.
- Variable
Id - Logical planning-variable identifier.
Enums§
- Shadow
Variable Kind - The kind of shadow variable.
- Value
Range Type - The type of value range for a planning variable.
- Variable
Type - The type of a planning variable.
Traits§
- Dynamic
List Access - Object-safe dynamic list variable access.
- Dynamic
List Metadata - Slot-bound immutable metadata used by canonical dynamic-list phases.
- Dynamic
Model Backend - Rust-owned dynamic planning model backend.
- Dynamic
Scalar Access - Object-safe dynamic scalar variable access.
- Dynamic
Scalar Assignment Metadata - Object-safe metadata access for one dynamic scalar-assignment group.
- Entity
Extractor - Trait for extracting entities from a planning solution.
- Planning
Entity - Marker trait for planning entities.
- Planning
Id - Trait for unique identification of entities and facts.
- Planning
Solution - Marker trait for planning solutions.
- Problem
Fact - Marker trait for problem facts.
Type Aliases§
- Usize
Candidate Values - Returns bounded candidate indexes for
(solution, entity_index, variable_index). - Usize
Construction Entity Order Key - Construction ranking key for an entity:
(solution, entity_index) -> key. - Usize
Construction Value Order Key - Construction ranking key for a candidate value:
(solution, entity_index, value) -> key. - Usize
Entity Value Provider - Returns the legal value indexes declared on a type-erased entity.
- Usize
Getter - Reads a scalar variable’s value index from a type-erased entity;
Nonemeans unassigned. - Usize
Nearby Entity Distance Meter - Distance between two entities:
(solution, left_entity_index, right_entity_index) -> distance. - Usize
Nearby Value Distance Meter - Distance between an entity and a candidate value:
(solution, entity_index, value) -> distance. - Usize
Search Entity Order Key - Local-search ranking key for an entity:
(solution, entity_index) -> key; lower keys are tried first. - Usize
Search Value Order Key - Local-search ranking key for a candidate value:
(solution, entity_index, value) -> key; lower keys are tried first. - Usize
Setter - Writes a scalar variable’s value index on a type-erased entity;
Noneunassigns it.