pub trait IntersectionRing {
// Required methods
fn intersect(
&self,
class1: &ChowClass,
class2: &ChowClass,
) -> IntersectionNumber;
fn count_objects(
&self,
object_class: ChowClass,
constraints: Vec<Constraint>,
) -> i64;
fn hyperplane_class(&self) -> ChowClass;
}Expand description
Trait for intersection rings
Required Methods§
Sourcefn intersect(
&self,
class1: &ChowClass,
class2: &ChowClass,
) -> IntersectionNumber
fn intersect( &self, class1: &ChowClass, class2: &ChowClass, ) -> IntersectionNumber
Compute intersection of two classes
Sourcefn count_objects(
&self,
object_class: ChowClass,
constraints: Vec<Constraint>,
) -> i64
fn count_objects( &self, object_class: ChowClass, constraints: Vec<Constraint>, ) -> i64
Count objects satisfying constraints
Sourcefn hyperplane_class(&self) -> ChowClass
fn hyperplane_class(&self) -> ChowClass
Get the hyperplane class