public class CardConstrFinder extends Object implements Iterator<AtLeastCard>, Iterable<AtLeastCard>
| Constructor and Description |
|---|
CardConstrFinder(IPBSolver coSolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAtLeast(IVecInt lits,
int threshold) |
void |
addAtMost(IVecInt vec,
int threshold) |
void |
addClause(IVecInt clause) |
void |
forget() |
boolean |
hasNext() |
int |
initNumberOfClauses() |
Iterator<AtLeastCard> |
iterator() |
AtLeastCard |
next() |
Set<AtLeastCard> |
remainingAtLeastCards() |
void |
remove() |
void |
rissPreprocessing(String rissLocation,
String instance) |
IVecInt |
searchCardFromAtMostCard(IVecInt literals,
int threshold) |
IVecInt |
searchCardFromClause(IVecInt clause) |
void |
searchCards() |
void |
setAuthorizedExtLits(IVecInt lits) |
void |
setPrintCards(boolean b) |
void |
setVerbose(boolean verbose) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic CardConstrFinder(IPBSolver coSolver)
public void forget()
public void addClause(IVecInt clause)
public void addAtLeast(IVecInt lits, int threshold)
public void addAtMost(IVecInt vec, int threshold)
public void searchCards()
public Set<AtLeastCard> remainingAtLeastCards()
public int initNumberOfClauses()
public void setAuthorizedExtLits(IVecInt lits)
public boolean hasNext()
hasNext in interface Iterator<AtLeastCard>public AtLeastCard next()
next in interface Iterator<AtLeastCard>public void remove()
remove in interface Iterator<AtLeastCard>public void setPrintCards(boolean b)
public void setVerbose(boolean verbose)
public Iterator<AtLeastCard> iterator()
iterator in interface Iterable<AtLeastCard>Copyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.