Package nqueens.lab

Class FirstAvailableRowSearchAlgorithm

java.lang.Object
nqueens.lab.FirstAvailableRowSearchAlgorithm
All Implemented Interfaces:
RowSearchAlgorithm

@Immutable
public final class FirstAvailableRowSearchAlgorithm
extends java.lang.Object
implements RowSearchAlgorithm
Author:
__STUDENT_NAME__, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Constructor Summary

    Constructors 
    Constructor Description
    FirstAvailableRowSearchAlgorithm()  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.Integer> selectedNextUnplacedRow​(ImmutableQueenLocations queenLocations)
    Given a specified queenLocations, return an available row.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait