| test.org.mandarax.performance.PerformanceTest
All known Subclasses: test.org.mandarax.performance.PerformanceTest1,
PerformanceTest | public interface PerformanceTest (Code) | | Interface for performance tests.
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.1 |
Method Summary | |
public int | getDepth() Get the tree depth (if kb is organized as tree, otherwise just return -1). | public int | getKBSize() Get the size of the knowledge base used. | public int | getNumberOfResults() Get the number of results computed. | public long | getTime() Get the time needed to run the test. | public void | release() Release the test. | public void | run(InferenceEngine ie, boolean one, boolean logOn, PrintStream out) Run the test. |
QUERY_VARIABLE | final public static String QUERY_VARIABLE(Code) | | |
getDepth | public int getDepth()(Code) | | Get the tree depth (if kb is organized as tree, otherwise just return -1).
the depth of the kb tree |
getKBSize | public int getKBSize()(Code) | | Get the size of the knowledge base used.
the kb size |
getNumberOfResults | public int getNumberOfResults()(Code) | | Get the number of results computed.
Parameters: the - number of results |
getTime | public long getTime()(Code) | | Get the time needed to run the test.
Parameters: a - long value (the millis) |
release | public void release()(Code) | | Release the test.
|
run | public void run(InferenceEngine ie, boolean one, boolean logOn, PrintStream out)(Code) | | Run the test.
Parameters: ie - the inference engine to be tested Parameters: one - whether to return only one result, or all results Parameters: logOn - whether to log or not Parameters: out - print stream used to output a test summary |
|
|