public class RuleConstraints extends java.lang.Object implements Clique
Modifier and Type | Field and Description |
---|---|
byte |
constraintNumber
The byte value of the constraints -- we can only have 256 of them
|
java.lang.String |
name
The name of the RuleConstraints object
|
static java.lang.String |
P_NAME |
Constructor and Description |
---|
RuleConstraints() |
Modifier and Type | Method and Description |
---|---|
static RuleConstraints |
constraintsFor(java.lang.String constraintsName,
EvolutionState state)
You must guarantee that after calling constraintsFor(...) one or
several times, you call state.output.exitIfErrors() once.
|
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
java.lang.String |
toString()
Converting the rule to a string ( the name )
|
public static final java.lang.String P_NAME
public byte constraintNumber
public java.lang.String name
public java.lang.String toString()
toString
in class java.lang.Object
public void setup(EvolutionState state, Parameter base)
Setup
public static RuleConstraints constraintsFor(java.lang.String constraintsName, EvolutionState state)