Function dag::get_future

source ·
pub fn get_future<'a, InIndex, OutIndex, F, FStop, Set, Iter>(
    index_set: Iter,
    successor_edges: F,
    stop_condition: FStop
) -> Set
where InIndex: 'a + Copy + TryInto<OutIndex>, <InIndex as TryInto<OutIndex>>::Error: Debug, OutIndex: 'a + Copy + Hash + Eq + PartialEq + Ord, F: Fn(InIndex) -> Vec<InIndex>, FStop: Fn(InIndex) -> bool, Set: SetLike<OutIndex> + Default, Iter: IntoIterator<Item = InIndex>,
Expand description

Return the future set of the nodes in index_set. The future set (including itself) of a node whose stop_condition is true will not be included.