A B C D E G I M P

A

AndrewsBook - class com.thomaso.bridge.impossible.AndrewsBook.
Implements an encoding of all bridge deals.
AndrewsBook() - Constructor for class com.thomaso.bridge.impossible.AndrewsBook
 

B

BigCombo - class com.thomaso.numeric.BigCombo.
 
BigCombo() - Constructor for class com.thomaso.numeric.BigCombo
 

C

choose(int, int) - Static method in class com.thomaso.numeric.BigCombo
 

D

decode(BigInteger, int) - Static method in class com.thomaso.numeric.IncreasingSequence
Do a lookup in the squashed order.
decode(int[], int[], int[]) - Method in class com.thomaso.bridge.impossible.AndrewsBook
 
decodeToVector(BigInteger, int) - Static method in class com.thomaso.numeric.IncreasingSequence
Same as decode, only computs a Vector.

E

encode(int[]) - Static method in class com.thomaso.numeric.IncreasingSequence
Starting with an increasing sequence of natural numbers, determine the index of that number in the squashed order.

G

getPage(BigInteger) - Method in class com.thomaso.bridge.impossible.AndrewsBook
 
getPage(BigInteger) - Method in class com.thomaso.bridge.impossible.ImpossibleBook
Convert an integer between 0 and Pages-1 to a deal.
getPage(BigInteger) - Method in class com.thomaso.bridge.impossible.PavlicekBook
 
getPage(String) - Method in class com.thomaso.bridge.impossible.ImpossibleBook
Get a page number from a string.
getPageAsVector(BigInteger) - Method in class com.thomaso.bridge.impossible.ImpossibleBook
Calls encode then wraps the result as a Vector of Integers.

I

ImpossibleBook - class com.thomaso.bridge.impossible.ImpossibleBook.
An abstract class which, when extended, indexes all possible bridge hands.
ImpossibleBook() - Constructor for class com.thomaso.bridge.impossible.ImpossibleBook
 
IncreasingSequence - class com.thomaso.numeric.IncreasingSequence.
Utility class for implementing the Squashed Order.
IncreasingSequence() - Constructor for class com.thomaso.numeric.IncreasingSequence
 
index(int[]) - Method in class com.thomaso.bridge.impossible.AndrewsBook
 
index(int[]) - Method in class com.thomaso.bridge.impossible.ImpossibleBook
Abstract: Should take a deal and find its index in the book
index(int[]) - Method in class com.thomaso.bridge.impossible.PavlicekBook
 

M

main(ImpossibleBook, String[]) - Static method in class com.thomaso.bridge.impossible.ImpossibleBook
Run a test for a given book.
main(String[]) - Static method in class com.thomaso.bridge.impossible.AndrewsBook
 
main(String[]) - Static method in class com.thomaso.bridge.impossible.PavlicekBook
 
main(String[]) - Static method in class com.thomaso.numeric.BigCombo
 
main(String[]) - Static method in class com.thomaso.numeric.IncreasingSequence
 

P

Pages - Static variable in class com.thomaso.bridge.impossible.ImpossibleBook
The number of bridge deals.
PavlicekBook - class com.thomaso.bridge.impossible.PavlicekBook.
An encoding from Richard Pavlicek.
PavlicekBook() - Constructor for class com.thomaso.bridge.impossible.PavlicekBook
 

A B C D E G I M P