Class Algorithm
Test algorithm, as read from file
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Algorithm
Constructors
Algorithm(PerfRunData)
Read algorithm from file. Property examined: alt.tasks.packages == comma separated list of alternate Assembly names where tasks would be searched for, when not found in the default Assembly (that of PerfTask). If the same task class appears in more than one Assembly, the Assembly indicated first in this list will be used.
The Lucene.Net implementation differs from Lucene in that all referenced assemblies are also scanned for the type. However, alt.tasks.packages may be included for assemblies that are not referenced in your project.Declaration
public Algorithm(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData | perf-run-data used at running the tasks. |
Exceptions
Type | Condition |
---|---|
Exception | if errors while parsing the algorithm. |
Methods
Execute()
Execute this algorithm.
Declaration
public virtual void Execute()
ExtractTasks()
Expert: for test purposes, return all tasks participating in this algorithm.
Declaration
public virtual IList<PerfTask> ExtractTasks()
Returns
Type | Description |
---|---|
IList<PerfTask> | All tasks participating in this algorithm. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |