Uses of Interface
org.chocosolver.solver.variables.RealVar
-
-
Uses of RealVar in org.chocosolver.solver
Methods in org.chocosolver.solver that return RealVar Modifier and Type Method Description RealVar[]
Model. retrieveRealVars()
Iterate over the variable ofthis
and build an array that contains theRealVar
only.Methods in org.chocosolver.solver with parameters of type RealVar Modifier and Type Method Description double[]
Solution. getRealBounds(RealVar r)
Get the bounds of r in this solution.void
Solution. setRealBounds(RealVar var, double[] val)
Set the value of variable v in this solution -
Uses of RealVar in org.chocosolver.solver.expression.continuous.arithmetic
Methods in org.chocosolver.solver.expression.continuous.arithmetic that return RealVar Modifier and Type Method Description RealVar
BiCArExpression. realVar(double p)
RealVar
CArExpression. realVar(double precision)
RealVar
UnCArExpression. realVar(double p)
-
Uses of RealVar in org.chocosolver.solver.objective
Methods in org.chocosolver.solver.objective that return types with arguments of type RealVar Modifier and Type Method Description static IObjectiveManager<RealVar>
ObjectiveFactory. makeObjectiveManager(RealVar objective, ResolutionPolicy policy, double precision)
Define the variable to optimize (maximize or minimize) By default, the manager usesIObjectiveManager.setStrictDynamicCut()
to avoid exploring worse solutions.Methods in org.chocosolver.solver.objective with parameters of type RealVar Modifier and Type Method Description static IObjectiveManager<RealVar>
ObjectiveFactory. makeObjectiveManager(RealVar objective, ResolutionPolicy policy, double precision)
Define the variable to optimize (maximize or minimize) By default, the manager usesIObjectiveManager.setStrictDynamicCut()
to avoid exploring worse solutions. -
Uses of RealVar in org.chocosolver.solver.search.strategy
Methods in org.chocosolver.solver.search.strategy with parameters of type RealVar Modifier and Type Method Description static RealStrategy
Search. realVarSearch(double epsilon, RealVar... reals)
strategy to branch on real variables by choosing sequentially the next variable domain to split in two, wrt the middle value.static RealStrategy
Search. realVarSearch(VariableSelector<RealVar> varS, RealValueSelector valS, boolean leftFirst, RealVar... rvars)
Generic strategy to branch on real variables, based on domain splitting.static RealStrategy
Search. realVarSearch(VariableSelector<RealVar> varS, RealValueSelector valS, double epsilon, boolean leftFirst, RealVar... rvars)
Generic strategy to branch on real variables, based on domain splitting.static RealStrategy
Search. realVarSearch(RealVar... reals)
strategy to branch on real variables by choosing sequentially the next variable domain to split in two, wrt the middle value.Method parameters in org.chocosolver.solver.search.strategy with type arguments of type RealVar Modifier and Type Method Description static RealStrategy
Search. realVarSearch(VariableSelector<RealVar> varS, RealValueSelector valS, boolean leftFirst, RealVar... rvars)
Generic strategy to branch on real variables, based on domain splitting.static RealStrategy
Search. realVarSearch(VariableSelector<RealVar> varS, RealValueSelector valS, double epsilon, boolean leftFirst, RealVar... rvars)
Generic strategy to branch on real variables, based on domain splitting. -
Uses of RealVar in org.chocosolver.solver.search.strategy.decision
Methods in org.chocosolver.solver.search.strategy.decision with parameters of type RealVar Modifier and Type Method Description RealDecision
DecisionMaker. makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst)
void
RealDecision. set(RealVar v, double value, double epsilon, boolean leftFirst)
Instantiate this decision with the parameters -
Uses of RealVar in org.chocosolver.solver.search.strategy.selectors.values
Methods in org.chocosolver.solver.search.strategy.selectors.values with parameters of type RealVar Modifier and Type Method Description double
RealDomainMax. selectValue(RealVar var)
double
RealDomainMiddle. selectValue(RealVar var)
double
RealDomainMin. selectValue(RealVar var)
double
RealValueSelector. selectValue(RealVar var)
Selects and returns the value to constrained chosen variable with. -
Uses of RealVar in org.chocosolver.solver.search.strategy.strategy
Methods in org.chocosolver.solver.search.strategy.strategy that return types with arguments of type RealVar Modifier and Type Method Description Decision<RealVar>
RealStrategy. computeDecision(RealVar variable)
Methods in org.chocosolver.solver.search.strategy.strategy with parameters of type RealVar Modifier and Type Method Description Decision<RealVar>
RealStrategy. computeDecision(RealVar variable)
Constructors in org.chocosolver.solver.search.strategy.strategy with parameters of type RealVar Constructor Description RealStrategy(RealVar[] scope, VariableSelector<RealVar> varselector, RealValueSelector valueIterator, double epsilon, boolean leftFirst)
Create a real strategy which generates decision over real variables.Constructor parameters in org.chocosolver.solver.search.strategy.strategy with type arguments of type RealVar Constructor Description RealStrategy(RealVar[] scope, VariableSelector<RealVar> varselector, RealValueSelector valueIterator, double epsilon, boolean leftFirst)
Create a real strategy which generates decision over real variables. -
Uses of RealVar in org.chocosolver.solver.variables
Methods in org.chocosolver.solver.variables that return RealVar Modifier and Type Method Description RealVar
Variable. asRealVar()
default RealVar
IViewFactory. realIntView(IntVar var, double precision)
Creates a real view of var, i.e. a RealVar of domain equal to the domain of var.default RealVar[]
IViewFactory. realIntViewArray(IntVar[] ints, double precision)
Creates an array of real views for a set of integer variables This should be used to include an integer variable in an expression/constraint requiring RealVardefault RealVar[][]
IViewFactory. realIntViewMatrix(IntVar[][] ints, double precision)
Creates a matrix of real views for a matrix of integer variables This should be used to include an integer variable in an expression/constraint requiring RealVardefault RealVar
IVariableFactory. realVar(double value)
Create a constant real variable equal to valuedefault RealVar
IVariableFactory. realVar(double value, double precision)
Creates a constant real variable equal to valuedefault RealVar
IVariableFactory. realVar(double lb, double ub, double precision)
Creates a real variable, taking its domain in [lb, ub]default RealVar
IVariableFactory. realVar(String name, double value)
Create a constant real variable equal to valuedefault RealVar
IVariableFactory. realVar(String name, double lb, double ub, double precision)
Creates a real variable, taking its domain in [lb, ub]default RealVar
RealVar. realVar(double p)
default RealVar[]
IVariableFactory. realVarArray(int size, double lb, double ub, double precision)
Creates an array of size real variables, each of domain [lb, ub]default RealVar[]
IVariableFactory. realVarArray(String name, int size, double lb, double ub, double precision)
Creates an array of size real variables, each of domain [lb, ub]default RealVar[][]
IVariableFactory. realVarMatrix(int dim1, int dim2, double lb, double ub, double precision)
Creates a matrix of dim1*dim2 real variables, each of domain [lb, ub]default RealVar[][]
IVariableFactory. realVarMatrix(String name, int dim1, int dim2, double lb, double ub, double precision)
Creates a matrix of dim1*dim2 real variables, each of domain [lb, ub] -
Uses of RealVar in org.chocosolver.solver.variables.impl
Classes in org.chocosolver.solver.variables.impl that implement RealVar Modifier and Type Class Description class
FixedRealVarImpl
Project: choco-solver.class
RealVarImpl
An implementation of RealVar, variable for continuous constraints (solved using IBEX).Methods in org.chocosolver.solver.variables.impl that return RealVar Modifier and Type Method Description RealVar
AbstractVariable. asRealVar()
-
Uses of RealVar in org.chocosolver.solver.variables.view
Classes in org.chocosolver.solver.variables.view that implement RealVar Modifier and Type Class Description class
RealView
-
Uses of RealVar in org.chocosolver.util.tools
Methods in org.chocosolver.util.tools with parameters of type RealVar Modifier and Type Method Description static double[]
VariableUtils. boundsForAddition(RealVar... vars)
static double[]
VariableUtils. boundsForAtan2(RealVar x, RealVar y)
static double[]
VariableUtils. boundsForDivision(RealVar x, RealVar y)
static double[]
VariableUtils. boundsForMaximum(RealVar... vars)
static double[]
VariableUtils. boundsForMinimum(RealVar... vars)
static double[]
VariableUtils. boundsForMultiplication(RealVar x, RealVar y)
static double[]
VariableUtils. boundsForPow(RealVar x, RealVar y)
static double[]
VariableUtils. boundsForSubstraction(RealVar x, RealVar y)
-