public interface EdgeAnalyzer extends Benchmark, FeatureAnalyzer, MultiThreaded
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocal()
Returns
true if this analyzer is a local analyzer. |
void |
process(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges,
Model model)
Scores a collection of link between two spots.
|
getProcessingTimegetFeatureDimensions, getFeatureNames, getFeatures, getFeatureShortNames, getIsIntFeature, isManualFeatureforbidMultithreading, getIcon, getInfoText, getKey, getNamegetNumThreads, setNumThreads, setNumThreadsvoid process(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges, Model model)
FeatureModel.
Note: ideally concrete implementation should work in a multi-threaded fashion for performance reason, when possible.
edges - the collection of edges whose features are to be calculated.model - the Model they belong to.boolean isLocal()
true if this analyzer is a local analyzer. That is:
a modification that affects only one edge requires the edge features to
be re-calculated only for this edge. If false, any model
modification involving an edge will trigger a recalculation over the
whole track this edge belong to.
Example of local edge feature: the edge length (distance between the two spots). This one does not depend on other edge values.
Example of non-local edge feature: the local curvature of the trajectory, which depends on the neighbor edges.
Copyright © 2015–2021 Fiji. All rights reserved.