case class MatchedPath[V, T](results: Seq[MatchResult[V]], transitions: Seq[Transition[T]]) extends Product with Serializable
The result of applying a PathMatcher to observations.
See also TransitionProbabilityStrategy, which may compute transition data.
- V
The type of the elements for OnRoad results
- T
The type of transition data
- results
The MatchResult for each observation. The results will always have the same length as the input trace, and each element will correspond one to one with an input point in the same order. The type of result will indicate if the point was matched
OnRoador not.- transitions
The Transitions between results if they were computed during matching. When computed the transitions will contain the information to reconstruct a path connecting results together.
- Some results may not be connected to transitions, meaning there may be no
Transition
going
fromortothat result. For example, a path containing an Unknown result could contain transitions that skip this result. That way, the transitions give a consistent picture of the path traveled while ignoring the Unknown, likely caused by incorrect data. - For any transition
t,t.frommust be less thant.to. - For two consecutive transitions
t1andt2,t1.tomust be less than or equal tot2.from(the transitions must be sorted in ascending order)
- Some results may not be connected to transitions, meaning there may be no
Transition
going
- Alphabetic
- By Inheritance
- MatchedPath
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MatchedPath(results: Seq[MatchResult[V]], transitions: Seq[Transition[T]])
- results
The MatchResult for each observation. The results will always have the same length as the input trace, and each element will correspond one to one with an input point in the same order. The type of result will indicate if the point was matched
OnRoador not.- transitions
The Transitions between results if they were computed during matching. When computed the transitions will contain the information to reconstruct a path connecting results together.
- Some results may not be connected to transitions, meaning there may be no
Transition
going
fromortothat result. For example, a path containing an Unknown result could contain transitions that skip this result. That way, the transitions give a consistent picture of the path traveled while ignoring the Unknown, likely caused by incorrect data. - For any transition
t,t.frommust be less thant.to. - For two consecutive transitions
t1andt2,t1.tomust be less than or equal tot2.from(the transitions must be sorted in ascending order)
- Some results may not be connected to transitions, meaning there may be no
Transition
going
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val results: Seq[MatchResult[V]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val transitions: Seq[Transition[T]]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)