public class SolutionLengthConstraint extends AbstractConstraint
| Modifier and Type | Field and Description |
|---|---|
double |
minSolutionLength
the minimum number of steps the agent should do
|
double |
solutionLength
the number of steps that the agent did when plays the game
|
| Constructor and Description |
|---|
SolutionLengthConstraint() |
| Modifier and Type | Method and Description |
|---|---|
double |
checkConstraint()
check if the solution length is at least equal to minSolutionLength
|
setParameterspublic double solutionLength
public double minSolutionLength
public double checkConstraint()
checkConstraint in class AbstractConstraint