Interface ISTEdgeWeightCalculator
-
- All Known Implementing Classes:
BaseEdgeWeightCalculator
,EdgeWeightCalculatorStageThree
,EdgeWeightCalculatorStageTwo
public interface ISTEdgeWeightCalculator
The public interface for classes that return the weights of edges in the graph used to solve the minimum cost multi-commodity flow problem used for associating tracks into longer tracks. From Kempton et. al 2015 and 2018.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
associationEdgeWeight(ISTTrackingTrajectory leftTrack, ISTTrackingTrajectory rightTrack)
Returns the weight for an edge that goes between the second vertex of the first track to the first vertex of the second track.double
observationEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge that goes between the two vertices that represent the passed in event.double
sinkEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge from the vertex representing the passed in event to the sink.double
sourceEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge from the source to the vertex representing the passed in event.
-
-
-
Method Detail
-
sourceEdgeWeight
double sourceEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge from the source to the vertex representing the passed in event.- Parameters:
event
- The event to calculate the edge weight for.- Returns:
- The edge weight for the edge from the source
-
sinkEdgeWeight
double sinkEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge from the vertex representing the passed in event to the sink.- Parameters:
event
- The event to calculate the edge weight for.- Returns:
- The edge weight for the edge to the sink
-
observationEdgeWeight
double observationEdgeWeight(ISTTrackingEvent event)
Returns the weight for an edge that goes between the two vertices that represent the passed in event. The weight represents the probability of this event being a true detection as opposed to a false detection.- Parameters:
event
- The event to calculate the edge weight for.- Returns:
- A value representing how likely it is that the given event is a true detection.
-
associationEdgeWeight
double associationEdgeWeight(ISTTrackingTrajectory leftTrack, ISTTrackingTrajectory rightTrack)
Returns the weight for an edge that goes between the second vertex of the first track to the first vertex of the second track. This weight represents how likely it is that these two tracks represent the same object at different times.- Parameters:
leftTrack
- The earlier trackrightTrack
- The later track- Returns:
- A value representing how likely it is that the two tracks represent the same object.
-
-