FuzzyRelationsComposition
public struct FuzzyRelationsComposition<U, V, W, Seq> where V == Seq.Element, Seq : Sequence
extension FuzzyRelationsComposition: FuzzySet
Undocumented
-
Undocumented
Declaration
Swift
public init( _ relationUV: BinaryFuzzyRelation<U, V>, _ relationVW: BinaryFuzzyRelation<V, W>, sequence: Seq, method: CompositionMethod = .maxmin )
-
Complexity
O(n) where n is the number of elements inself.sequence
(number of elements ofV
to be iterated over viaSeq
)Declaration
Swift
public func grade(forElement element: (U, W)) -> Grade
-
Undocumented
Declaration
Swift
public subscript(u: U, w: W) -> Grade { get }
-
Undocumented
Declaration
Swift
public func callAsFunction(_ u: U, _ w: W) -> Grade
-
Undocumented
Declaration
Swift
init( _ relationUV: BinaryFuzzyRelation<U, V>, _ relationVW: BinaryFuzzyRelation<V, W>, method: CompositionMethod = .maxmin )