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
OnRoad
or 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
from
orto
that 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.from
must be less thant.to
. - For two consecutive transitions
t1
andt2
,t1.to
must 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
OnRoad
or 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
from
orto
that 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.from
must be less thant.to
. - For two consecutive transitions
t1
andt2
,t1.to
must 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( ... ) @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] )
-
final
def
getClass(): Class[_]
- 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()
- val results: Seq[MatchResult[V]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val transitions: Seq[Transition[T]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()