- java.lang.Object
-
- javax.constraints.impl.CommonBase
-
- javax.constraints.impl.AbstractConstrainedVariable
-
- javax.constraints.impl.AbstractVar
-
- javax.constraints.impl.Var
-
-
Constructor Summary
Constructors
| Constructor and Description |
Var(javax.constraints.Problem problem) |
Var(javax.constraints.Problem problem,
String name) |
-
Method Summary
-
Methods inherited from class javax.constraints.impl.AbstractVar
abs, addPropagator, asReal, compareTo, contains, divide, divide, getDomainSize, getDomainType, getInitialDomain, getValue, minus, minus, mod, multiply, percent, power, setDomainType, sqr, toString
-
Methods inherited from class javax.constraints.impl.CommonBase
getId, getImpl, getName, getObject, getProblem, setId, setImpl, setName, setObject
-
Methods inherited from interface javax.constraints.Var
abs, asReal, contains, divide, divide, getDomainSize, getDomainType, getInitialDomain, getValue, minus, minus, mod, multiply, percent, power, setDomainType, sqr
-
Methods inherited from interface javax.constraints.ConstrainedVariable
getId, getImpl, getName, getObject, getProblem, setId, setImpl, setName, setObject
-
-
Method Detail
-
getMin
public int getMin()
- Specified by:
getMin in interface javax.constraints.Var
-
getMax
public int getMax()
- Specified by:
getMax in interface javax.constraints.Var
-
isBound
public boolean isBound()
- Specified by:
isBound in interface javax.constraints.Var
Copyright © 2024. All rights reserved.