samples.random
Class RandomProblem
java.lang.Object
samples.random.RandomProblem
public class RandomProblem
- extends Object
Constructor Summary |
RandomProblem(int nbVar,
int nbVal,
double density,
long seed,
boolean force)
|
RandomProblem(int nbVar,
int nbVal,
int nbConstraints,
double tightness,
long seed,
boolean force)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomProblem
public RandomProblem(int nbVar,
int nbVal,
double density,
long seed,
boolean force)
RandomProblem
public RandomProblem(int nbVar,
int nbVal,
int nbConstraints,
double tightness,
long seed,
boolean force)
nbArcs
public static int nbArcs(double n,
double density)
criticTightness
public static double criticTightness(int nbvar,
int nbval,
int nbcons)
getVariables
public IntegerVariable[] getVariables()
getConstraints
public Collection<Constraint> getConstraints()
Copyright © 2012. All Rights Reserved.