public class DeathConstraint extends AbstractConstraint
Modifier and Type | Field and Description |
---|---|
Types.WINNER |
doNothingState
the end state of the do nothing algorithm
|
double |
doNothingSteps
number of steps that do nothing agent did so far
|
double |
minDoNothingSteps
the minimum acceptable moves for the do nothing
|
Constructor and Description |
---|
DeathConstraint() |
Modifier and Type | Method and Description |
---|---|
double |
checkConstraint()
Check if the do nothing player staisfy the minDoNothingSteps and didn't win
|
setParameters
public double doNothingSteps
public double minDoNothingSteps
public Types.WINNER doNothingState
public double checkConstraint()
checkConstraint
in class AbstractConstraint