Expand description
Reusable observers for the Twine framework.
This crate provides Observer implementations and capability traits that
work across different solvers in the Twine ecosystem.
§Crate position in the dependency graph
twine-observers sits at the top of the stack:
twine-core ← twine-solvers ← twine-observersThis is intentional. Observers know about solvers — they implement capability
traits (see traits) for the concrete event and action types that solvers
expose. Solvers know nothing about observers. Removing this crate leaves
twine-solvers entirely unaffected.
§Modules
traits— Capability traits for cross-solver observers (HasResidual,HasObjective,CanStopEarly,CanAssumeWorse)
§Features
plot— EnablesPlotObserverandShowConfigfor visualizing solver behavior via egui. This feature adds dependencies oneframeandegui_plot.
Modules§
- traits
- Capability traits for cross-solver observers.