This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ScaledProblem implements Problem { | |
private final Problem problem; | |
private final double[] factors; | |
public ScaledProblem(Problem problem, double base) { | |
super(); | |
this.problem = problem; | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Comparator; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.Properties; | |
import java.util.concurrent.Semaphore; | |
import org.apache.commons.math3.random.MersenneTwister; | |
import org.apache.commons.math3.random.RandomAdaptor; | |
import org.apache.commons.math3.random.SynchronizedRandomGenerator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from executioner.salib import * | |
from SALib.sample import saltelli | |
from SALib.analyze import sobol | |
problem = { | |
'num_vars': 11, | |
'names': ['x1', 'x2', 'x3', 'x4', 'x5', 'x6', 'x7', 'x8', 'x9', 'x10', 'x11'], | |
'bounds': [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], | |
[0, 1], [0, 1], [0, 1]] | |
} |
NewerOlder