Skip navigation links
D G M N P S V 

D

DoubleFunctionProcessor - Class in <Unnamed>
DoubleFunctionProcessor - a thread-safe processor of DoubleFunctionProcessor in compound application to an initial value.
DoubleFunctionProcessor(double) - Constructor for class DoubleFunctionProcessor
Construct a DoubleFunctionProcessor object with a given initial value initValue

G

getValue() - Method in class DoubleFunctionProcessor
Return the current value of this DoubleFunctionProcessor.

M

main(String[]) - Static method in class NQueensSolver
Obtain the problem size n from args or, if not given, from the standard input.

N

NQueensSolver - Class in <Unnamed>
NQueensSolver - a depth-first search solver of the n queens problem that counts all solutions given n.
NQueensSolver(int) - Constructor for class NQueensSolver
Construct a solver for finding and counting all solutions to the n queens problem.

P

process(DoubleFunction<Double>) - Method in class DoubleFunctionProcessor
In a thread-safe manner, call function.apply(...) on the DoubleFunctionProcessor current value and let the new value be the result returned.

S

solve() - Method in class NQueensSolver
Return the number of solutions to the n queens problem.
solveNThreads() - Method in class NQueensSolver
Return the number of solutions to the n queens problem, computed with n threads.

V

verbose - Variable in class NQueensSolver
boolean verbose - whether or not to print each solution found
D G M N P S V 
Skip navigation links