class SimpleConnectivityTransitionProbabilityStrategy[O, V, E] extends TransitionProbabilityStrategyBase[O, V, NoTransition]
A simplistic implementation to compute transition probabilities for dense probe points.
Computes a transition probability by classifying the connectivity between road segments using a topology graph. Each case is associated with a constant value for the transition probability.
This class distinguishes three cases:
- SameVertex: The two segments are the same
- Neighboring: The two segments are directly connected
- Distant/Disconnected: The two segments are not directly connected
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version SDK 2.48) Please use DistanceTransitionProbabilityStrategy
- Note
Although it produces reasonable results when the map data and the probe data are of high quality, this is not meant for implementing a general purpose map matcher.
- Alphabetic
- By Inheritance
- SimpleConnectivityTransitionProbabilityStrategy
- TransitionProbabilityStrategyBase
- TransitionProbabilityStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SimpleConnectivityTransitionProbabilityStrategy(graph: DirectedGraph[V, E], probabilityParameters: Parameters = ...)
- graph
The graph representing road topology
- probabilityParameters
The probability values for each of the known cases
Type Members
-
type
DoubleLogProbability = Double
- Attributes
- protected
- Definition Classes
- TransitionProbabilityStrategyBase
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()
-
def
compute(currentObservation: O, currentCandidate: MatchResult[V], nextObservation: O, nextCandidates: IndexedSeq[MatchResult[V]]): (LogProbabilitySeq, Option[IndexedSeq[Option[NoTransition]]])
Computes the transitions from a candidate generated from the current observation to all candidates generated from the next observation.
Computes the transitions from a candidate generated from the current observation to all candidates generated from the next observation. For each transition, the transition probability is returned. May return additional transition data, for example the path between two OnRoad candidates. This data will be part of the MatchedPath returned by a PathMatcher.
- returns
A pair composed of
- The transition probabilities from
currentCandidate
to each element ofnextCandidates
- Optionally, additional transition data from
currentCandidate
to each element ofnextCandidates
- The transition probabilities from
- Definition Classes
- TransitionProbabilityStrategyBase → TransitionProbabilityStrategy
-
def
computeTransitionsBetweenOnRoads(currentObservation: O, currentCandidate: OnRoad[V], nextObservation: O, nextCandidates: Seq[OnRoad[V]], outProbabilities: Array[DoubleLogProbability]): Option[Seq[Option[Nothing]]]
- outProbabilities
Storage for the calculated probabilities. After this method returns, the probabilities for each candidate from
nextCandidates
will be stored in the leading entries of the array.
- Attributes
- protected
- Definition Classes
- SimpleConnectivityTransitionProbabilityStrategy → TransitionProbabilityStrategyBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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()
-
def
hashCode(): Int
- 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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()