public class CandidateInfo
extends java.lang.Object
Constructor and Description |
---|
CandidateInfo()
The standard constructor initializes the BitSet of the RHS attribute set to all false.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Releases the objects and sets all internal variable to null.
|
java.util.BitSet |
getRHS()
Returns the set of RHS candidates --> C(X)
|
StrippedPartition |
getStrippedPartition()
Returns the stripped parition
|
void |
setRHS_Bit(int bitIndex)
Sets the bit of the RHS attribute set at the specified index to true.
|
void |
setRHS_BitRange(int from,
int to)
Sets the bits of the RHS attribute set from the specified fromIndex (inclusive) to the specified
toIndex (exclusive) to true.
|
void |
setRHS(java.util.BitSet bs)
Replaces the RHS candiate by a new BitSet.
|
void |
setStrippedPartition(StrippedPartition s)
Sets the stripped Parition
|
public CandidateInfo()
public java.util.BitSet getRHS()
public void setRHS(java.util.BitSet bs)
bs
- - the new RHS candidatepublic StrippedPartition getStrippedPartition()
public void setStrippedPartition(StrippedPartition s)
s
- -the stripped partitionpublic void setRHS_Bit(int bitIndex)
bitIndex
- -a bit indexpublic void setRHS_BitRange(int from, int to)
from
- - index at the first bit to be setto
- - index after the last bit to be setpublic void clear()