Expand description
Core types and traits for SolverForge.
Applications use them through the solverforge facade. This crate
provides:
- Score types for representing solution quality
- Domain traits for defining planning problems
- Descriptor types for runtime metadata
- Constraint types for incremental evaluation
Re-exports§
pub use constraint::ConstraintRef;pub use constraint::ImpactType;pub use constraint_weights::ConstraintWeightError;pub use constraint_weights::ConstraintWeights;pub use constraint_weights::MAX_CONSTRAINT_WEIGHT_MULTIPLIER;pub use domain::PlanningEntity;pub use domain::PlanningId;pub use domain::PlanningSolution;pub use domain::ProblemFact;pub use score::BendableScore;pub use score::HardMediumSoftScore;pub use score::HardSoftDecimalScore;pub use score::HardSoftScore;pub use score::ParseableScore;pub use score::Score;pub use score::ScoreParseError;pub use score::SoftScore;
Modules§
- constraint
- Core constraint types.
- constraint_
weights - Runtime per-constraint weight multipliers.
- domain
- Domain model traits for defining planning problems
- fast_
hash - Deterministic fast hashing for engine-internal index keys.
- score
- Score types for representing solution quality