org.sat4j.csp.constraints
Class Nogoods
java.lang.Object
org.sat4j.csp.constraints.Nogoods
- All Implemented Interfaces:
- Clausifiable, Relation
public class Nogoods
- extends Object
- implements Relation
Constructor Summary |
Nogoods(int arity,
int nbtuples)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Nogoods
public Nogoods(int arity,
int nbtuples)
addTuple
public void addTuple(int index,
int[] tuple)
- Specified by:
addTuple
in interface Relation
toClause
public void toClause(ISolver solver,
IVec<Var> scope,
IVec<Evaluable> vars)
throws ContradictionException
- Specified by:
toClause
in interface Clausifiable
- Throws:
ContradictionException
arity
public int arity()
- Specified by:
arity
in interface Relation
Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.