public class ConflictMapMinimizeWeakening extends ConflictMap
byLevel, coefMult, coefMultCons, currentLevel, currentSlack, hasBeenReduced, numberOfReductions, preProcess, sumAllCoefsassertiveLiteral, autoDivisionStrategy, degree, weightedLitsTAUTOLOGY| Constructor and Description |
|---|
ConflictMapMinimizeWeakening(PBConstr cpb,
int level,
boolean noRemove,
SkipStrategy skip,
IPreProcess preprocess,
IPostProcess postProcessing,
IWeakeningStrategy weakeningStrategy,
AutoDivisionStrategy autoDivisionStrategy,
PBSolverStats stats) |
| Modifier and Type | Method and Description |
|---|---|
static IConflict |
createConflict(PBConstr cpb,
int level,
boolean noRemove,
SkipStrategy skip,
IPreProcess preprocess,
IPostProcess postProcessing,
IWeakeningStrategy weakeningStrategy,
AutoDivisionStrategy autoDivisionStrategy,
PBSolverStats stats) |
static IConflictFactory |
factory() |
BigInteger |
reduceInConstraint(IWatchPb wpb,
BigInteger[] coefsBis,
int indLitImplied,
BigInteger degreeBis,
BigInteger slackResolve)
constraint reduction : removes a literal of the constraint.
|
BigInteger |
resolve(PBConstr cpb,
int litImplied,
VarActivityListener val)
computes a cutting plane with a pseudo-boolean constraint. this method
updates the current instance (of ConflictMap).
|
getBacktrackLevel, getNumberOfReductions, hasBeenReduced, isAssertive, isUnsat, oldGetBacktrackLevel, oldIsAssertive, possConstraint, postProcess, ppcm, preProcess, reduceUntilConflict, saturation, setDecisionLevel, slackConflict, slackIsCorrect, toString, undoOne, updateSlackbuildConstraintFromConflict, buildConstraintFromMapPb, cuttingPlane, cuttingPlane, cuttingPlane, cuttingPlane, getAssertiveLiteral, getCardDegree, getDegree, getNumberOfCuttingPlanesCardinalities, isCardinality, isLongSufficient, reduceCoeffsByGCD, reduceCoeffsByPower2, saturation, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuildConstraintFromConflict, buildConstraintFromMapPb, cuttingPlane, cuttingPlane, cuttingPlane, cuttingPlane, getAssertiveLiteral, getCardDegree, getDegree, isCardinality, isLongSufficient, reduceCoeffsByPower2, saturation, sizepublic ConflictMapMinimizeWeakening(PBConstr cpb, int level, boolean noRemove, SkipStrategy skip, IPreProcess preprocess, IPostProcess postProcessing, IWeakeningStrategy weakeningStrategy, AutoDivisionStrategy autoDivisionStrategy, PBSolverStats stats)
public static IConflict createConflict(PBConstr cpb, int level, boolean noRemove, SkipStrategy skip, IPreProcess preprocess, IPostProcess postProcessing, IWeakeningStrategy weakeningStrategy, AutoDivisionStrategy autoDivisionStrategy, PBSolverStats stats)
public static IConflictFactory factory()
public BigInteger reduceInConstraint(IWatchPb wpb, BigInteger[] coefsBis, int indLitImplied, BigInteger degreeBis, BigInteger slackResolve)
ConflictMapreduceInConstraint in interface IConflictreduceInConstraint in class ConflictMapwpb - the initial constraint to reducecoefsBis - the coefficients of the constraint wrt which the reduction
will be proposedindLitImplied - index in wpb of the literal that should be resolveddegreeBis - the degree of the constraint wrt which the reduction will be
proposedpublic BigInteger resolve(PBConstr cpb, int litImplied, VarActivityListener val)
ConflictMapresolve in interface IConflictresolve in class ConflictMapcpb - constraint to compute with the cutting planelitImplied - literal that must be resolved by the cutting planeval - TODOCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.