public class ObjectiveFunction extends Object implements Serializable
| Constructor and Description |
|---|
ObjectiveFunction() |
ObjectiveFunction(IVecInt vars,
IVec<BigInteger> coeffs) |
| Modifier and Type | Method and Description |
|---|---|
ObjectiveFunction |
add(IVecInt otherVars,
IVec<BigInteger> otherCoeffs) |
ObjectiveFunction |
add(ObjectiveFunction other) |
BigInteger |
calculateDegree(RandomAccessModel lazyModel)
Compute the degree of the objective function using a full model.
|
BigInteger |
calculateDegreeImplicant(ISolver solver)
Compute the degree of the objective function using a prime implicant.
|
boolean |
equals(Object obj) |
IVec<BigInteger> |
getCoeffs() |
BigInteger |
getCorrection()
Deprecated.
|
BigInteger |
getCorrectionFactor() |
BigInteger |
getCorrectionOffset() |
IVecInt |
getVars() |
int |
hashCode() |
BigInteger |
minValue() |
ObjectiveFunction |
multiply(BigInteger fact) |
ObjectiveFunction |
negate() |
void |
setCorrection(BigInteger correction)
Deprecated.
|
void |
setCorrectionFactor(BigInteger correctionFactor) |
void |
setCorrectionOffset(BigInteger correction) |
Map<Integer,BigInteger> |
toMap() |
String |
toString() |
public ObjectiveFunction()
public ObjectiveFunction(IVecInt vars, IVec<BigInteger> coeffs)
public BigInteger calculateDegree(RandomAccessModel lazyModel)
lazyModel - a solver that recently answered true to isSatisfiable()public BigInteger calculateDegreeImplicant(ISolver solver)
solver - a solver which recently answered true to isSatisfiable and on
which the method primeImplicant() has been called.IProblem.primeImplicant()public IVec<BigInteger> getCoeffs()
public IVecInt getVars()
@Deprecated public void setCorrection(BigInteger correction)
public void setCorrectionOffset(BigInteger correction)
@Deprecated public BigInteger getCorrection()
public BigInteger getCorrectionOffset()
public void setCorrectionFactor(BigInteger correctionFactor)
public BigInteger getCorrectionFactor()
public BigInteger minValue()
public Map<Integer,BigInteger> toMap()
public ObjectiveFunction negate()
public ObjectiveFunction add(ObjectiveFunction other)
public ObjectiveFunction add(IVecInt otherVars, IVec<BigInteger> otherCoeffs)
public ObjectiveFunction multiply(BigInteger fact)
Copyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.