public class GoalConstraint extends AbstractConstraint
Modifier and Type | Field and Description |
---|---|
GameDescription |
gameDescription
Game description object send by the system
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
numOfObjects
hashmap for number of objects in the level
|
Constructor and Description |
---|
GoalConstraint() |
Modifier and Type | Method and Description |
---|---|
double |
checkConstraint()
Check if all terminate conditions are unsatisfiable
|
setParameters
public java.util.HashMap<java.lang.String,java.lang.Integer> numOfObjects
public GameDescription gameDescription
public double checkConstraint()
checkConstraint
in class AbstractConstraint