public class AlgorithmExecutor
extends java.lang.Object
| Constructor and Description |
|---|
AlgorithmExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static ExecuteResult |
execute(java.lang.Object algorithm,
java.lang.String methodName,
java.lang.Object... params)
Executes a given algorithm and returns its result and the time the execution took
|
public static ExecuteResult execute(java.lang.Object algorithm, java.lang.String methodName, java.lang.Object... params)
algorithm - Instance of an algorithm class whose method should be executedmethodName - Method that should be calledparams - Parameters of the algorithms