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
Re-exports§
pub use listener::ListVariableListener;pub use listener::ListVariableNotification;pub use listener::VariableListener;pub use listener::VariableNotification;pub use supply::AnchorVariableSupply;pub use supply::DemandKey;pub use supply::ElementPosition;pub use supply::ExternalizedAnchorVariableSupply;pub use supply::ExternalizedSingletonInverseVariableSupply;pub use supply::IndexVariableSupply;pub use supply::InverseVariableSupply;pub use supply::ListVariableStateDemand;pub use supply::ListVariableStateSupply;pub use supply::SingletonInverseVariableSupply;pub use supply::Supply;pub use supply::SupplyDemand;pub use supply::SupplyManager;
Modules§
- listener
- Variable listener infrastructure for shadow variable updates.
- supply
- Supply infrastructure for variable relationship tracking.
Structs§
- Chained
Variable Info - Information about a chained variable’s configuration.
- Computed
Value Range Provider - A value range provider that computes values dynamically.
- Entity
Descriptor - Describes a planning entity type at runtime.
- Entity
Ref - A reference to a planning entity with its index in the solution.
- Field
Value Range Provider - A value range provider backed by a field in the solution.
- Integer
Range - An integer range value provider.
- Problem
Fact Descriptor - Describes a problem fact type at runtime.
- Solution
Descriptor - Describes a planning solution at runtime.
- Static
Value Range - A static value range with a fixed set of values.
- Typed
Entity Extractor - A concrete entity extractor for a specific solution and entity type.
- Variable
Descriptor - Describes a planning variable at runtime.
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§
- 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.
- Value
Range Provider - Provides values for a planning variable.