FuzzyKit/Sources/FuzzyNumbers/FuzzyNumber.swift

19 lines
430 B
Swift

import FuzzySets
public protocol FuzzyNumber {
typealias Universe = Double
func eraseToAnyFuzzySet() -> AnyFuzzySet<Universe>
static func + (lhs: Self, rhs: Self) -> Self
static func - (lhs: Self, rhs: Self) -> Self
prefix static func - (x: Self) -> Self
// func approximatelyMultiplied(by other: Self) -> Self
//
// func approximatelyDivided(by other: Self) -> Self
}