Class Algorithm
Test algorithm, as read from file
Inheritance
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Algorithm
  Constructors
| Improve this Doc View SourceAlgorithm(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 | 
|---|---|
| System.Exception | if errors while parsing the algorithm.  | 
      
Methods
| Improve this Doc View SourceExecute()
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 | 
|---|---|
| System.Collections.Generic.IList<PerfTask> | All tasks participating in this algorithm.  | 
      
ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String |