Skip to main content

Module transitive_relation

Module transitive_relation 

Source

Re-exportsยง

use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::mem; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use rustc_index::bit_set::BitMatrix; ๐Ÿ”’
use crate::frozen::Frozen; ๐Ÿ”’
use crate::fx::FxHashSet; ๐Ÿ”’
use crate::fx::FxIndexSet; ๐Ÿ”’

Structsยง

Edge ๐Ÿ”’
Index ๐Ÿ”’
TransitiveRelation
TransitiveRelationBuilder

Functionsยง

pare_down ๐Ÿ”’
Pare down is used as a step in the LUB computation. It edits the candidates array in place by removing any element j for which there exists an earlier element i<j such that i -> j. That is, after you run pare_down, you know that for all elements that remain in candidates, they cannot reach any of the elements that come after them.