Skip to main content

solverforge_core/domain/
mod.rs

1/* Domain model traits for defining planning problems
2
3These traits define the structure of a planning problem:
4- `PlanningSolution`: The container for the complete problem and solution
5- `PlanningEntity`: Things that can be planned/optimized
6- `ProblemFact`: Immutable input data
7- `PlanningId`: Unique identification for entities
8*/
9
10mod descriptor;
11mod entity_ref;
12pub mod listener;
13pub mod supply;
14mod traits;
15mod value_range;
16mod variable;
17
18#[cfg(test)]
19mod tests;
20
21pub use descriptor::{
22    EntityDescriptor, ProblemFactDescriptor, SolutionDescriptor, VariableDescriptor,
23};
24pub use entity_ref::{EntityExtractor, EntityRef, TypedEntityExtractor};
25pub use listener::{
26    ListVariableListener, ListVariableNotification, VariableListener, VariableNotification,
27};
28pub use supply::{AnchorSupply, ElementPosition, InverseSupply, ListStateSupply};
29pub use traits::{ListVariableSolution, PlanningEntity, PlanningId, PlanningSolution, ProblemFact};
30pub use value_range::{
31    ComputedValueRangeProvider, FieldValueRangeProvider, IntegerRange, StaticValueRange,
32    ValueRangeProvider,
33};
34pub use variable::{ChainedVariableInfo, ShadowVariableKind, ValueRangeType, VariableType};