pub trait Scheduler {
fn compute(
&self,
graph: Arc<Graph>
) -> Option<Arc<Box<dyn Any + Send + Sync>>>;
}
Expand description
Defines the Scheduler object. Schedulers take in Graphs and return the result of their computation.
pub trait Scheduler {
fn compute(
&self,
graph: Arc<Graph>
) -> Option<Arc<Box<dyn Any + Send + Sync>>>;
}
Defines the Scheduler object. Schedulers take in Graphs and return the result of their computation.