Method | Description | |
---|---|---|
Algorithm ( System.Action action ) : System |
Initializes a new instance of the Algorithm class.
|
|
Algorithm ( string name, System.Action action ) : System |
Initializes a new instance of the Algorithm class.
|
|
BenchmarkAndCacheExecutionTime ( int numberOfIterations, bool reportIndividualIterations ) : |
Benchmarks and caches (in ExecutionTime) the execution time stats of the algorithm.
|
Method | Description | |
---|---|---|
Benchmark ( int numberOfIterations, |
||
Benchmark_ReportIndividualIterations ( int numberOfIterations, |
public Algorithm ( System.Action action ) : System | ||
action | System.Action | The action, or the code of the algorithm itself. |
return | System |
public Algorithm ( string name, System.Action action ) : System | ||
name | string | The name of the algorithm. |
action | System.Action | The action, or the code of the algorithm itself. |
return | System |
public BenchmarkAndCacheExecutionTime ( int numberOfIterations, bool reportIndividualIterations ) : |
||
numberOfIterations | int | The number of iterations to run. |
reportIndividualIterations | bool |
/// |
return |