Show / Hide Table of Contents

    Class Algorithm

    Test algorithm, as read from file

    Inheritance
    System.Object
    Algorithm
    Namespace: Lucene.Net.Benchmarks.ByTask.Utils
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Algorithm : object

    Constructors

    | Improve this Doc View Source

    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.

    Methods

    | Improve this Doc View Source

    Execute()

    Execute this algorithm.

    Declaration
    public virtual void Execute()
    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)