Trait traitgraph::algo::traversal::TraversalQueueStrategy [−][src]
pub trait TraversalQueueStrategy<Graph: GraphBase, Queue: BidirectedQueue<Graph::NodeIndex>> {
fn push(queue: &mut Queue, node: Graph::NodeIndex);
fn pop(queue: &mut Queue) -> Option<Graph::NodeIndex>;
}
Expand description
A type that defines the order of node processing in a traversal, i.e. queue-based or stack-based.