final case class SimilarityMetric(fuzzySets: Map[String, FuzzySet[String]]) extends DistanceMetric[String] with Product with Serializable
Used to calculate similarity fuzzy sets located at two paths.
- fuzzySets
a map of fuzzy sets to paths
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimilarityMetric
- Serializable
- Product
- Equals
- DistanceMetric
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SimilarityMetric(fuzzySets: Map[String, FuzzySet[String]])
Create a new similarity fuzzy set calculator.
Create a new similarity fuzzy set calculator.
- fuzzySets
a map of fuzzy sets to paths
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def calculateDistance(path1: String, path2: String): Double
Calculate the distance between the fuzzy sets at two paths.
Calculate the distance between the fuzzy sets at two paths.
- path1
the first path
- path2
the second path
- Definition Classes
- SimilarityMetric → DistanceMetric
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fuzzySets: Map[String, FuzzySet[String]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()