public class MapPb extends Object implements IDataStructurePB
| Modifier and Type | Field and Description |
|---|---|
protected int |
assertiveLiteral |
protected AutoDivisionStrategy |
autoDivisionStrategy |
protected BigInteger |
degree |
protected InternalMapPBStructure |
weightedLits |
TAUTOLOGY| Constructor and Description |
|---|
MapPb(IVecInt literals,
IVec<BigInteger> coefs,
BigInteger degree) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildConstraintFromConflict(IVecInt resLits,
IVec<BigInteger> resCoefs) |
void |
buildConstraintFromMapPb(int[] resLits,
BigInteger[] resCoefs) |
BigInteger |
cuttingPlane(int[] lits,
BigInteger[] reducedCoefs,
BigInteger deg) |
BigInteger |
cuttingPlane(int[] lits,
BigInteger[] reducedCoefs,
BigInteger degreeCons,
BigInteger coefMult) |
BigInteger |
cuttingPlane(PBConstr cpb,
BigInteger degreeCons,
BigInteger[] reducedCoefs,
BigInteger coefMult,
VarActivityListener val,
int p) |
BigInteger |
cuttingPlane(PBConstr cpb,
BigInteger deg,
BigInteger[] reducedCoefs,
VarActivityListener val,
int p) |
int |
getAssertiveLiteral() |
BigInteger |
getCardDegree() |
BigInteger |
getDegree() |
int |
getNumberOfCuttingPlanesCardinalities() |
boolean |
isCardinality() |
boolean |
isLongSufficient() |
int |
reduceCoeffsByGCD() |
int |
reduceCoeffsByPower2() |
BigInteger |
saturation() |
int |
size() |
String |
toString() |
protected InternalMapPBStructure weightedLits
protected BigInteger degree
protected int assertiveLiteral
protected final AutoDivisionStrategy autoDivisionStrategy
public MapPb(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
public int reduceCoeffsByPower2()
reduceCoeffsByPower2 in interface IDataStructurePBpublic int reduceCoeffsByGCD()
public boolean isCardinality()
isCardinality in interface IDataStructurePBpublic int getNumberOfCuttingPlanesCardinalities()
public boolean isLongSufficient()
isLongSufficient in interface IDataStructurePBpublic int getAssertiveLiteral()
getAssertiveLiteral in interface IDataStructurePBpublic BigInteger saturation()
saturation in interface IDataStructurePBpublic BigInteger cuttingPlane(PBConstr cpb, BigInteger deg, BigInteger[] reducedCoefs, VarActivityListener val, int p)
cuttingPlane in interface IDataStructurePBpublic BigInteger cuttingPlane(PBConstr cpb, BigInteger degreeCons, BigInteger[] reducedCoefs, BigInteger coefMult, VarActivityListener val, int p)
cuttingPlane in interface IDataStructurePBpublic BigInteger cuttingPlane(int[] lits, BigInteger[] reducedCoefs, BigInteger deg)
cuttingPlane in interface IDataStructurePBpublic BigInteger cuttingPlane(int[] lits, BigInteger[] reducedCoefs, BigInteger degreeCons, BigInteger coefMult)
cuttingPlane in interface IDataStructurePBpublic void buildConstraintFromConflict(IVecInt resLits, IVec<BigInteger> resCoefs)
buildConstraintFromConflict in interface IDataStructurePBpublic void buildConstraintFromMapPb(int[] resLits,
BigInteger[] resCoefs)
buildConstraintFromMapPb in interface IDataStructurePBpublic BigInteger getDegree()
getDegree in interface IDataStructurePBpublic int size()
size in interface IDataStructurePBpublic BigInteger getCardDegree()
getCardDegree in interface IDataStructurePBCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.