org.encog.util.benchmark
Class EncogBenchmark

java.lang.Object
  extended by org.encog.util.benchmark.EncogBenchmark

public class EncogBenchmark
extends Object

Benchmark Encog with several network types.

Author:
jheaton

Constructor Summary
EncogBenchmark(StatusReportable report)
          Construct a benchmark object.
 
Method Summary
 int getBinaryScore()
           
 int getClScore()
           
 int getCpuScore()
           
 int getMemoryScore()
           
 String process()
          Perform the benchmark.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncogBenchmark

public EncogBenchmark(StatusReportable report)
Construct a benchmark object.

Parameters:
report - The object to report progress to.
Method Detail

process

public String process()
Perform the benchmark. Returns the total amount of time for all of the benchmarks. Returns the final score. The lower the better for a score.

Returns:
The total time, which is the final Encog benchmark score.

getCpuScore

public int getCpuScore()
Returns:
the cpuScore

getClScore

public int getClScore()
Returns:
the clScore

getMemoryScore

public int getMemoryScore()
Returns:
the memoryScore

getBinaryScore

public int getBinaryScore()
Returns:
the binaryScore


Copyright © 2014. All Rights Reserved.