public class EdgeFeatureCalculator extends MultiThreadedBenchmarkAlgorithm implements Cancelable
EdgeAnalyzers.processingTimeerrorMessage, numThreads| Constructor and Description |
|---|
EdgeFeatureCalculator(Model model,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String reason) |
boolean |
checkInput() |
void |
computeEdgesFeatures(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges,
boolean doLogIt)
Calculates all the edge features configured in the
Settings
object for the specified edges. |
String |
getCancelReason() |
boolean |
isCanceled() |
boolean |
process()
Calculates the edge features configured in the
Settings for all
the edges of this model. |
getProcessingTimegetErrorMessage, getNumThreads, setNumThreads, setNumThreadspublic boolean checkInput()
checkInput in interface Algorithmpublic boolean process()
Settings for all
the edges of this model.public void computeEdgesFeatures(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges, boolean doLogIt)
Settings
object for the specified edges.edges - the edges to compute.doLogIt - if true, the logger of the model will be notified
of the calculation.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.