Java-API--Dokumentation

Class MsaTimer

java.lang.Object
  extended by MsaTimer

public class MsaTimer
extends Object

Diese Klasse kann die Zeit messen, die ein Loesungsalgorithmus des Maximum--Sub-Array--Problems benoetigt.

Auf Unix-basierten Systemen wie Mac OS X sollte statt dessen das time-Werkzeug benutzt werden.


Field Summary
(package private)  MaximumSubArraySolver solver
           
 
Constructor Summary
MsaTimer(Class solverClass)
           
MsaTimer(MaximumSubArraySolver solver)
           
MsaTimer(String solverClassName)
           
 
Method Summary
static void main(String[] args)
           
static void test(Class solverClass, int length)
           
static void test(MaximumSubArraySolver solver, int length)
           
static void test(String solverClassName, int length)
           
(package private)  void testSolver(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

solver

MaximumSubArraySolver solver
Constructor Detail

MsaTimer

MsaTimer(MaximumSubArraySolver solver)

MsaTimer

MsaTimer(Class solverClass)
   throws IllegalAccessException,
          InstantiationException
Throws:
IllegalAccessException
InstantiationException

MsaTimer

MsaTimer(String solverClassName)
   throws IllegalAccessException,
          InstantiationException,
          ClassNotFoundException
Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
Method Detail

test

public static void test(MaximumSubArraySolver solver,
                        int length)

test

public static void test(Class solverClass,
                        int length)
                 throws IllegalAccessException,
                        InstantiationException
Throws:
IllegalAccessException
InstantiationException

test

public static void test(String solverClassName,
                        int length)
                 throws IllegalAccessException,
                        InstantiationException,
                        ClassNotFoundException
Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException

main

public static void main(String[] args)
                 throws Throwable
Throws:
Throwable

testSolver

void testSolver(int length)

Java-API--Dokumentation

Gehe zurueck zur Tutoriums-Homepage