grapes-and-grapes: Intersection (Logical AND) of Fuzzy Sets

%&%R Documentation

Intersection (Logical AND) of Fuzzy Sets

Description

Intersection (Logical AND) of Fuzzy Sets

Usage

S1 %&% S2

Arguments

S1

A Set

S2

A Set

Details

Both S1 and S2 must be Sets.

Value

Returns the intersection of S1 and S2.

Examples

# Build two sparse sets
S <- Set$new(attributes = c("A", "B", "C"))
S$assign(A = 1, B = 1)
T <- Set$new(attributes = c("A", "B", "C"))
T$assign(A = 1, C = 1)

# Intersection
S %&% T


fcaR documentation built on April 28, 2023, 1:11 a.m.