public abstract class BenchmarkAlgorithm extends Object implements Benchmark, Algorithm
Benchmark
and Algorithm
so that less code has to be re-implemented.
IMPORTANT: It is not meant to be used for any other purpose than that, it should not be
demanded by any other method or generic construct, use the interfaces instead.Modifier and Type | Field and Description |
---|---|
protected String |
errorMessage |
protected long |
processingTime |
Constructor and Description |
---|
BenchmarkAlgorithm() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage() |
long |
getProcessingTime() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkInput, process
protected long processingTime
protected String errorMessage
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2021 Fiji. All rights reserved.