pub trait PhaseFactory<S, D>: Send + Syncwhere
S: PlanningSolution,
D: ScoreDirector<S>,{
type Phase: Phase<S, D>;
// Required method
fn create(&self) -> Self::Phase;
}Expand description
Factory trait for creating phases with zero type erasure.
Returns a concrete phase type via associated type, preserving full type information through the pipeline.
§Type Parameters
S- The solution typeD- The score director type