use solverforge_core::domain::PlanningSolution;
use crate::builder::SearchContext;
pub(crate) struct RuntimeGraphInput<S, V, DM, IDM, E>
where
S: PlanningSolution,
{
context: SearchContext<S, V, DM, IDM>,
extensions: E,
}
impl<S, V, DM, IDM, E> RuntimeGraphInput<S, V, DM, IDM, E>
where
S: PlanningSolution,
{
pub(crate) fn new(context: SearchContext<S, V, DM, IDM>, extensions: E) -> Self {
Self {
context,
extensions,
}
}
pub(crate) fn into_parts(self) -> (SearchContext<S, V, DM, IDM>, E) {
(self.context, self.extensions)
}
}