public class ObjectiveFunction extends Object implements Serializable
Constructor and Description |
---|
ObjectiveFunction(IVecInt vars,
IVec<BigInteger> coeffs) |
Modifier and Type | Method and Description |
---|---|
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() |
IVecInt |
getVars() |
int |
hashCode() |
BigInteger |
minValue() |
void |
setCorrection(BigInteger correction) |
String |
toString() |
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()
public void setCorrection(BigInteger correction)
public BigInteger getCorrection()
public BigInteger minValue()
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.