-
Notifications
You must be signed in to change notification settings - Fork 1
/
MyAlgorithm.java
42 lines (36 loc) · 1.06 KB
/
MyAlgorithm.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//title:...
//help:...
//author:...
//type:...
//output:...
//options:...
//options.help:...
public class MyAlgorithm {
// constructor and initializer of session
// @param options algorithm options
// @return algorithm object : environment options, status
public MyAlgorithm(Map options) {
...
}
// first design building.
// @param algorithm object handling options, status, ...
// @param d the number of variables all set in [0,1]
public static double[][] getInitialDesign(MyAlgorithm algorithm, int d) {
...
}
// iterated design building.
// @param algorithm object handling options, status, ...
// @param X matrix of current doe variables (in [0,1])
// @param Y matrix of current results
// @return matrix of next doe step
public static double[][] getNextDesign(MyAlgorithm algorithm, double[][] X,double[][] Y) {
...
}
// final analysis. All variables are set in [0,1].
// @param algorithm object handling options, status, ...
// @return HTML string of analysis
public static String displayResults(MyAlgorithm algorithm, double[][] X,double[][] Y) {
...
}
...
}