Skip to main content

DequeuePolicy

Trait DequeuePolicy 

Source
pub trait DequeuePolicy {
    // Required method
    fn select_next(&mut self, candidates: &[NodeSummary]) -> Option<NodeIndex>;
}
Expand description

A dequeue policy selects the next node to run from a set of summaries.

Required Methods§

Source

fn select_next(&mut self, candidates: &[NodeSummary]) -> Option<NodeIndex>

Select the next node index to step, or None if none should run.

Implementors§