pub fn dominates(&self, frontier: AntichainRef<T>) -> bool {
        // We must distinguish the scenario where the internal domain
        // has no sources from one where all its internal sources have
        // dropped their capabilities. We do this by checking the
        // probed_source_count of the domain.

        if self.probed_source_count() == 0 {
            frontier.less_than(self.epoch())
        } else if frontier.is_empty() {
            false
        } else {
            self.domain_probe().with_frontier(|domain_frontier| {
                domain_frontier.iter().all(|t| frontier.less_than(t))
            })
        }
    }
/// Returns true iff the frontier dominates all domain inputs.
Returns true iff the frontier dominates all domain inputs.
Returns true iff the frontier dominates all domain inputs .
pub fn dominates(&self, frontier: AntichainRef<T>) -> bool {
        // We must distinguish the scenario where the internal domain
        // has no sources from one where all its internal sources have
        // dropped their capabilities. We do this by checking the
        // probed_source_count of the domain.
        if self.probed_source_count() == 0 {
            frontier.less_than(self.epoch())
        } else if frontier.is_empty() {
            false
        } else {
            self.domain_probe().with_frontier(|domain_frontier| {
                domain_frontier.iter().all(|t| frontier.less_than(t))
            })
        }
    }
pub fn dominates ( & self , frontier : AntichainRef < T > ) -> bool { // We must distinguish the scenario where the internal domain // has no sources from one where all its internal sources have // dropped their capabilities. We do this by checking the // probed_source_count of the domain. if self . probed_source_count ( ) == 0 { frontier . less_than ( self . epoch ( ) ) } else if frontier . is_empty ( ) { false } else { self . domain_probe ( ) . with_frontier ( | domain_frontier | { domain_frontier . iter ( ) . all ( | t | frontier . less_than ( t ) ) } ) } }
Returns true iff the frontier dominates all domain inputs.
Returns true iff the frontier dominates all domain inputs .
&self
frontier
AntichainRef<T>
&self
frontier
AntichainRef<T>