FuzzySetComposition
public struct FuzzySetComposition<U, V, Seq> where U == Seq.Element, Seq : Sequence
extension FuzzySetComposition: FuzzySet
extension FuzzySetComposition: AnyFuzzySetRepresentable
Undocumented
-
Undocumented
Declaration
Swift
public init(set: IterableFuzzySet<U, Seq>, relation: BinaryFuzzyRelation<U, V>)
-
Complexity
O(n) where n is the number of elements inself.set.sequence
(number of elements ofV
to be iterated over viaSeq
)Declaration
Swift
public func grade(forElement element: V) -> Grade
-
Undocumented
Declaration
Swift
public func eraseToAnyFuzzySet() -> AnyFuzzySet<V>
-
Undocumented
Declaration
Swift
static func generalizedModusPonens<P: FuzzySet, Q: FuzzySet>( antecedent: P, consequent: Q, fact: IterableFuzzySet<U, Seq>, method: ImplicationMethod = .mamdani ) -> Self where P.Universe == U, Q.Universe == V