public class CheatingNQueensPhaseCommand extends org.optaplanner.core.impl.phase.custom.AbstractCustomPhaseCommand<NQueens>
This class solves any N Queens instance using a polynomial time algorithm (explicit solutions algorithm).
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CheatingNQueensPhaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeWorkingSolution(org.optaplanner.core.impl.score.director.ScoreDirector<NQueens> scoreDirector) |
public void changeWorkingSolution(org.optaplanner.core.impl.score.director.ScoreDirector<NQueens> scoreDirector)
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.