com.phasmidsoftware.number.core.numerical.Fuzzy
Type class which adds fuzzy behavior to a type X.
Type parameters
- X
-
the type to be made fuzzy.
Attributes
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Known subtypes
-
Members list
Method to determine if x1 and x2 can be considered the same with a probability of p.
Method to determine if x1 and x2 can be considered the same with a probability of p.
Value parameters
- confidence
-
a probability between 0 and 1 -- 0 would always result in true; 1 will result in false unless x1 actually is x2.
- x1
-
a value of X.
- x2
-
a value of X.
Attributes
- Returns
-
true if t1 and t2 are considered equal with probability p.