IterableFuzzySet

public struct IterableFuzzySet<Universe, S> where Universe == S.Element, S : Sequence
extension IterableFuzzySet: AnyFuzzySetRepresentable
extension IterableFuzzySet: FuzzySet
extension IterableFuzzySet: FuzzySetOperations
extension IterableFuzzySet: Sequence
extension IterableFuzzySet: FuzzyImplicationCapable
extension IterableFuzzySet: FuzzyProposition

Undocumented

Type erasure

Fuzzy set

Fuzzy set operations

Sequence

Properties

  • Undocumented

    Declaration

    Swift

    var height: Grade { get }
  • Undocumented

    Declaration

    Swift

    var isNormal: Bool { get }

Utility

  • Undocumented

    Declaration

    Swift

    static func singleton<A, B>(_ u: (A, B)) -> IterableFuzzySet<Universe, S> where Universe == (A, B), S == Array<(A, B)>, A : Equatable, B : Equatable
  • Undocumented

    Declaration

    Swift

    public func implication(_ other: `Self`, method: ImplicationMethod = .mamdani) -> IterableFuzzySet<Universe, S>
  • Undocumented

    Declaration

    Swift

    public func apply(_ x: Universe, settings: OperationSettings) -> Grade

Available where Universe: Hashable

Available where Universe: CaseIterable, S == Universe.AllCases

Available where Universe: Hashable

  • Undocumented

    Declaration

    Swift

    var support: Set<Universe> { get }
  • Undocumented

    Declaration

    Swift

    var core: Set<Universe> { get }

Available where S == Set<Universe>

  • Undocumented

    Declaration

    Swift

    static func fromCrispSet(_ set: S) -> IterableFuzzySet<Universe, S>

Available where Universe: Equatable, S == Array<Universe>

  • Undocumented

    Declaration

    Swift

    static func singleton(_ u: Universe) -> IterableFuzzySet<Universe, S>