| Constructor and Description | 
|---|
ConstrGroup()
Create a ConstrGroup that cannot contain null constrs. 
 | 
ConstrGroup(boolean disallowNullConstraints)
Create a new constrGroup. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(IConstr constr)  | 
boolean | 
canBePropagatedMultipleTimes()
Partition constraints into the ones that can only be found once on the
 trail (e.g. clauses) and the ones that can be found several times (e.g. 
 | 
void | 
clear()  | 
int | 
get(int i)
returns the ith literal in the constraint 
 | 
double | 
getActivity()
To obtain the activity of the constraint. 
 | 
IConstr | 
getConstr(int i)  | 
boolean | 
learnt()  | 
void | 
removeFrom(ISolver solver)  | 
int | 
size()  | 
String | 
toString()  | 
public ConstrGroup()
public ConstrGroup(boolean disallowNullConstraints)
disallowNullConstraints - should be set to false to allow adding null constraints to the
            group.public void add(IConstr constr)
public void clear()
public void removeFrom(ISolver solver)
public IConstr getConstr(int i)
public int size()
public boolean learnt()
public double getActivity()
IConstrgetActivity in interface IConstrpublic int get(int i)
IConstrpublic boolean canBePropagatedMultipleTimes()
IConstrcanBePropagatedMultipleTimes in interface IConstrCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.