public class SparseLAPFrameToFrameTracker extends MultiThreadedBenchmarkAlgorithm implements SpotTracker, Cancelable
| Modifier and Type | Field and Description |
|---|---|
protected org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> |
graph |
protected Logger |
logger |
protected Map<String,Object> |
settings |
protected SpotCollection |
spots |
processingTimeerrorMessage, numThreads| Constructor and Description |
|---|
SparseLAPFrameToFrameTracker(SpotCollection spots,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String reason) |
boolean |
checkInput() |
protected boolean |
checkSettingsValidity(Map<String,Object> settings,
StringBuilder str) |
String |
getCancelReason() |
protected CostFunction<Spot,Spot> |
getCostFunction(Map<String,Double> featurePenalties)
Creates a suitable cost function.
|
org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> |
getResult() |
boolean |
isCanceled() |
boolean |
process() |
void |
setLogger(Logger logger)
Sets the
Logger instance that will receive messages from this
SpotTracker. |
getProcessingTimegetErrorMessage, getNumThreads, setNumThreads, setNumThreadsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorMessagegetNumThreads, setNumThreads, setNumThreadsprotected org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> graph
protected Logger logger
protected final SpotCollection spots
public SparseLAPFrameToFrameTracker(SpotCollection spots, Map<String,Object> settings)
public org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge> getResult()
getResult in interface OutputAlgorithm<org.jgrapht.graph.SimpleWeightedGraph<Spot,org.jgrapht.graph.DefaultWeightedEdge>>public boolean checkInput()
checkInput in interface Algorithmprotected CostFunction<Spot,Spot> getCostFunction(Map<String,Double> featurePenalties)
featurePenalties - feature penalties to base costs on. Can be null.CostFunctionpublic void setLogger(Logger logger)
SpotTrackerLogger instance that will receive messages from this
SpotTracker.setLogger in interface SpotTrackerlogger - the logger to echo messages to.protected boolean checkSettingsValidity(Map<String,Object> settings, StringBuilder str)
public boolean isCanceled()
isCanceled in interface Cancelablepublic void cancel(String reason)
cancel in interface Cancelablepublic String getCancelReason()
getCancelReason in interface CancelableCopyright © 2015–2021 Fiji. All rights reserved.