|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectq1471341.mp1074.test.TestFactory
This package provides several tests for the integration framework.
Constructor Summary | |
TestFactory()
|
Method Summary | |
static int |
fibonacci(int k)
Calculates the k-th Fibonacci number. |
static void |
testAlpha(javax.swing.JTextArea output)
Test of the search for optimal lattice rules. |
static void |
testChoice(javax.swing.JTextArea output)
Test of choosing the generating vector z |
static void |
testDimension(javax.swing.JTextArea output)
Tests the influence of dimension and order on the integration error. |
static void |
testFibonacci(javax.swing.JTextArea output)
Test of Fibonacci lattice rules in 2 dimensions. |
static void |
testGenz(javax.swing.JTextArea output,
int countFactor,
boolean periodize,
int integrandClass,
double difficulty)
Tests the integration of integrands belonging to the Genz intgrand families. |
static void |
testImplementation(javax.swing.JTextArea output)
Tests the implementation of all implemented integration rules. |
static void |
testPeriodizing(javax.swing.JTextArea output,
int function)
Tests the influence of periodizing the integrand. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestFactory()
Method Detail |
public static void testImplementation(javax.swing.JTextArea output)
output
- text area for presenting the resultspublic static void testDimension(javax.swing.JTextArea output)
output
- text area for presenting the resultspublic static void testChoice(javax.swing.JTextArea output)
output
- text area for presenting the resultspublic static void testAlpha(javax.swing.JTextArea output)
output
- text area for presenting the resultspublic static void testPeriodizing(javax.swing.JTextArea output, int function)
output
- text area for presenting the resultsfunction
- selection of the integrand
1: f(x,y) = y*exp(x*y)/(e-2)
2: f(x,y) = 1public static void testGenz(javax.swing.JTextArea output, int countFactor, boolean periodize, int integrandClass, double difficulty)
output
- text area for presenting the resultscountFactor
- periodize
- flag whether the integrand should be periodized of notintegrandClass
- class of the integranddifficulty
- factor describing the desired complexity of the integrandpublic static void testFibonacci(javax.swing.JTextArea output)
output
- text area for presenting the resultspublic static int fibonacci(int k)
k
- index of the requested Fibonacci number
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |