Package nqueens.core
Interface RowSearchOrder
- All Known Implementing Classes:
FirstAvailableRowSearchOrder
public interface RowSearchOrder
- Author:
- Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Method Summary
Modifier and TypeMethodDescriptionselectedNextUnplacedRow(QueenLocations queenLocations)Given a specified queenLocations, return an available row.
-
Method Details
-
selectedNextUnplacedRow
Given a specified queenLocations, return an available row. If no row is available, Optional.empty() is returned.- Parameters:
queenLocations- the specified board- Returns:
- an available row, if one exists
-