org.apache.lucene.benchmark.byTask.utils
public class Algorithm extends java.lang.Object
Constructor and Description |
---|
Algorithm(PerfRunData runData)
Read algorithm from file
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute this algorithm
|
java.util.ArrayList |
extractTasks()
Expert: for test purposes, return all tasks participating in this algorithm.
|
java.lang.String |
toString() |
public Algorithm(PerfRunData runData) throws java.lang.Exception
runData
- perf-run-data used at running the tasks.java.lang.Exception
- if errors while parsing the algorithmpublic java.lang.String toString()
toString
in class java.lang.Object
public void execute() throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList extractTasks()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.