A B C E F G H I L M N O P R S T U W X Y

A

above(int) - Static method in class tesuji.games.go.GoArray
Return the coordinate one point above the coordinate passed as a parameter.
add(int) - Method in class tesuji.games.go.UniqueList
 
add(IntStack) - Method in class tesuji.games.go.UniqueList
 
add(IntStack) - Method in class tesuji.games.go.IntStack
 
addBoardChangeListener(BoardChangeListener) - Method in class tesuji.games.go.computer.evaluation.Influence
Any listener that registers through this method will get notified of all the points where the influence changed.
addBoardChangeListener(BoardChangeListener) - Method in class tesuji.games.general.BoardChangeSupport
 
addGameEventListener(GameEventListener) - Method in class tesuji.games.go.computer.tactics.Ladder
Register an event listener.
addGameEventListener(GameEventListener) - Method in class tesuji.games.go.computer.tactics.Geta
Register an event listener.
addGameEventListener(GameEventListener) - Method in class tesuji.games.go.GameEventSupport
 
addText(String) - Method in interface tesuji.games.general.GameEventListener
 
array - Variable in class tesuji.games.go.ByteArrayImpl
 

B

below(int) - Static method in class tesuji.games.go.GoArray
Return the coordinate one point below the coordinate passed as a parameter.
BLACK - Static variable in class tesuji.games.general.Const
 
BLACK - Static variable in class tesuji.games.go.GoConst
 
BLACK_STONE - Static variable in class tesuji.games.go.computer.evaluation.Influence
 
BoardChange - class tesuji.games.general.BoardChange.
A class used to store and pass board-changes.
BoardChange(int, int, byte) - Constructor for class tesuji.games.general.BoardChange
 
BoardChange(int, int, byte, byte) - Constructor for class tesuji.games.general.BoardChange
 
BoardChangeListener - interface tesuji.games.general.BoardChangeListener.
Define a listener interface for board-changes.
BoardChangeSupport - class tesuji.games.general.BoardChangeSupport.
Convenience class used to delegate calls to concerning BoardChanges.
BoardChangeSupport() - Constructor for class tesuji.games.general.BoardChangeSupport
GoBoardChangeSupport constructor comment.
BoardMarker - class tesuji.games.go.BoardMarker.
This is an important class that is used to mark points that have already been processed.
BoardMarker() - Constructor for class tesuji.games.go.BoardMarker
 
ByteArray - interface tesuji.games.go.ByteArray.
Interface for defining an array for a Go program that can be used both as a 1-dimensional array and as a 2-dimensional array.

The rule is that the index in the 1-dimensional can be computed from the 2-dimensional array as follows:
xy = x+y*getWidth()

Notes: The first point is the 1,1 point and not the 0,0 point. The size of the 1-dimensional array is always at least getWidth()*(getWidth()+1) For the moment these arrays are always considerad as read-only.
ByteArrayImpl - class tesuji.games.go.ByteArrayImpl.
1-dimensional implementation of ByteArray.
ByteArrayImpl(int) - Constructor for class tesuji.games.go.ByteArrayImpl
ByteArrayImpl constructor comment.
ByteArrayImpl(int, byte[]) - Constructor for class tesuji.games.go.ByteArrayImpl
ByteArrayImpl constructor comment.

C

CAN_CATCH - Static variable in class tesuji.games.go.computer.tactics.Ladder
 
CANNOT_CATCH - Static variable in class tesuji.games.go.computer.tactics.Ladder
 
CATCH_WITH_KO - Static variable in class tesuji.games.go.computer.tactics.Ladder
 
catchGeta(int) - Method in class tesuji.games.go.computer.tactics.Geta
Try to catch a stone or chain in a geta.
catchGeta(int, int) - Method in class tesuji.games.go.computer.tactics.Geta
Try to catch a stone or chain in a geta.
changeBoard(int, int, byte, byte) - Method in interface tesuji.games.general.BoardChangeListener
 
changeBoard(int, int, byte, byte) - Method in class tesuji.games.go.computer.tactics.Ladder
 
changeBoard(int, int, byte, byte) - Method in class tesuji.games.go.computer.evaluation.Influence
Mark a point on the board as changed.
checkRange(int) - Static method in class tesuji.games.go.GoArray
 
clear() - Method in class tesuji.games.go.computer.evaluation.Influence
 
clear() - Method in class tesuji.games.go.UniqueList
 
clear() - Method in class tesuji.games.go.IntStack
Clear the contents of the IntStack object.
clear(byte[]) - Static method in class tesuji.games.go.GoArray
 
clear(int[]) - Static method in class tesuji.games.go.GoArray
 
clear(long[]) - Static method in class tesuji.games.go.GoArray
 
clear(Object[]) - Static method in class tesuji.games.go.GoArray
 
clear(short[]) - Static method in class tesuji.games.go.GoArray
 
Const - class tesuji.games.general.Const.
Some very general constant definitions.
Const() - Constructor for class tesuji.games.general.Const
 
continues() - Method in interface tesuji.games.general.Cursor
 
copy(byte[], byte[]) - Static method in class tesuji.games.go.GoArray
 
copy(int[], int[]) - Static method in class tesuji.games.go.GoArray
 
copy(long[], long[]) - Static method in class tesuji.games.go.GoArray
 
copy(Object[], Object[]) - Static method in class tesuji.games.go.GoArray
 
copy(short[], short[]) - Static method in class tesuji.games.go.GoArray
 
createBytes() - Static method in class tesuji.games.go.GoArray
 
createIntegers() - Static method in class tesuji.games.go.GoArray
 
createLongs() - Static method in class tesuji.games.go.GoArray
 
createObjects() - Static method in class tesuji.games.go.GoArray
 
createShorts() - Static method in class tesuji.games.go.GoArray
 
Cursor - interface tesuji.games.general.Cursor.
Simple interface to define a 'cursor'.

E

EMPTY - Static variable in class tesuji.games.go.GoConst
 
escapeGeta(int) - Method in class tesuji.games.go.computer.tactics.Geta
Try to escape from a geta.
escapeGeta(int, int) - Method in class tesuji.games.go.computer.tactics.Geta
Try to escape from a geta.

F

FIRST - Static variable in class tesuji.games.go.GoArray
 
FlyWeight - interface tesuji.games.general.FlyWeight.
This is an interface for fly-weight objects.
FourCursor - class tesuji.games.go.FourCursor.
This is a four-way cursor.
FourCursor(int, Stack) - Constructor for class tesuji.games.go.FourCursor
 

G

GameEventListener - interface tesuji.games.general.GameEventListener.
Define an interface for a listener to 'game-events'.
GameEventSupport - class tesuji.games.go.GameEventSupport.
Convenience class used to delegate calls to concerning GameEvents.
GameEventSupport() - Constructor for class tesuji.games.go.GameEventSupport
GameEventSupport constructor comment.
get(int) - Method in interface tesuji.games.go.ByteArray
Get an element from the array using a 1-dimensional coordinate.
get(int) - Method in class tesuji.games.go.UniqueList
 
get(int) - Method in class tesuji.games.go.ByteArrayImpl
Get an element from the array using a 1-dimensional coordinate.
get(int) - Method in class tesuji.games.go.IntStack
 
get(int, int) - Method in interface tesuji.games.go.ByteArray
Get an element from the array using a 2-dimensional coordinate.
get(int, int) - Method in class tesuji.games.go.ByteArrayImpl
Get an element from the array using a 2-dimensional coordinate.
Geta - class tesuji.games.go.computer.tactics.Geta.
Module for reading getas, also called 3-liberty problems or loose-ladders.

This module works in close connection with the ladder module to which it delegates a lot of the work.
Geta(Ladder) - Constructor for class tesuji.games.go.computer.tactics.Geta
This module works in close connection with the ladder module to which it delegates a lot of the work.
getBoardArray(int) - Static method in class tesuji.games.go.GoArray
This method creates an array for a Go board of a given size with an edge around the board-points.
getBoardSize() - Method in interface tesuji.games.go.ByteArray
Get the board-size for this array.
getBoardSize() - Method in class tesuji.games.go.ByteArrayImpl
Get the board-size for this array.
getDoubleArray() - Method in interface tesuji.games.go.ByteArray
Get the array as a 2-dimensional array.
getDoubleArray() - Method in class tesuji.games.go.ByteArrayImpl
Get the array as a 2-dimensional array.
getIntStack() - Static method in class tesuji.games.go.Util
Allocate an IntStack of default size.
getIterator() - Method in class tesuji.games.go.UniqueList
 
getIterator() - Method in class tesuji.games.go.IntStack
Get a Cursor object that can be used to iterate over all the values in the IntStack.
getLastLadderMove() - Method in class tesuji.games.go.computer.tactics.Ladder
 
getList() - Method in class tesuji.games.go.IntStack
 
getMembers(int, byte[]) - Method in class tesuji.games.go.IntStack
This method clears the list and then starts to fill it with the coordinates of all the four-way-connected members of the same value in the board array.

For example this can be used to get the coordinates of all the stones that belong to the same chain.
getMoreMembers(int, byte[]) - Method in class tesuji.games.go.IntStack
This method does the same as getMembers but it doesn't clear the list first, so the members get added to the existing members.
getNewMarker() - Method in class tesuji.games.go.BoardMarker
This causes all points previously marked as 'set' to be unmarked.
getNlib(int, int, byte, byte[]) - Static method in class tesuji.games.go.Util
Same as the other getNlib method except it doesn't store the liberties.
getNlib(int, int, byte, byte[], IntStack) - Static method in class tesuji.games.go.Util
Get the number of liberties of a chain.
getNrLadderMovesRead() - Method in class tesuji.games.go.computer.tactics.Geta
 
getNrMovesRead() - Method in class tesuji.games.go.computer.tactics.Ladder


Creation date: (17-May-01 11:44:44 PM)

getNrMovesRead() - Method in class tesuji.games.go.computer.tactics.Geta
 
getOldValue() - Method in class tesuji.games.general.BoardChange
 
getPoint() - Static method in class tesuji.games.go.Util
 
getPoint(int, int) - Static method in class tesuji.games.go.Util
 
getPreviousInfluence() - Method in class tesuji.games.go.computer.evaluation.Influence
 
getRowArray(int) - Static method in class tesuji.games.go.GoArray
This method creates an array for a Go board of a given size with at each point the distance to the edge of the board.
getSingleArray() - Method in interface tesuji.games.go.ByteArray
Get the array as a 1-dimensional array.
getSingleArray() - Method in class tesuji.games.go.ByteArrayImpl
Get the array as a 1-dimensional array.
getSize() - Method in class tesuji.games.go.UniqueList
 
getSize() - Method in class tesuji.games.go.IntStack
 
getUniqueList() - Static method in class tesuji.games.go.Util
Allocate an UniqueList.
getValue() - Method in class tesuji.games.general.BoardChange
 
getWidth() - Method in interface tesuji.games.go.ByteArray
Get the width that is used to do the coordinate conversion between 1-dimensional and 2-dimensional.
getWidth() - Method in class tesuji.games.go.ByteArrayImpl
Get the width that is used to do the coordinate conversion between 1-dimensional and 2-dimensional.
getX() - Method in class tesuji.games.general.BoardChange
 
getX() - Method in class tesuji.games.general.Point
 
getX(int) - Static method in class tesuji.games.go.GoArray
 
getY() - Method in class tesuji.games.general.BoardChange
 
getY() - Method in class tesuji.games.general.Point
 
getY(int) - Static method in class tesuji.games.go.GoArray
 
GoArray - class tesuji.games.go.GoArray.
This class defines arrays used for a Go-board.
GoArray() - Constructor for class tesuji.games.go.GoArray
 
GoConst - class tesuji.games.go.GoConst.
This class just contains some definitions of constant values.
GoConst() - Constructor for class tesuji.games.go.GoConst
 

H

hasListeners() - Method in class tesuji.games.general.BoardChangeSupport
 
hasListeners() - Method in class tesuji.games.go.GameEventSupport
 
hasMember(int) - Method in class tesuji.games.go.UniqueList
 

I

ILLEGAL - Static variable in class tesuji.games.go.computer.tactics.Ladder
 
ILLEGAL_VALUE - Static variable in class tesuji.games.go.GoArray
 
Influence - class tesuji.games.go.computer.evaluation.Influence.
This class computes influence from black and white stones given a certain board-position.

The basic algorithm is quite simple:

- Each black stone gets a high positive value.

- Each white stone gets a high negative value.

- For several iterative steps, each point that has a positive value adds 1 to the influence of the neighbouring points.
Influence(int) - Constructor for class tesuji.games.go.computer.evaluation.Influence
 
IntStack - class tesuji.games.go.IntStack.
This class acts like a (usually small) list of integers.
IntStack() - Constructor for class tesuji.games.go.IntStack
Default constructor.
IntStack(int) - Constructor for class tesuji.games.go.IntStack
IntStack constructor with a given capacity.
IntStack(Stack) - Constructor for class tesuji.games.go.IntStack
IntStack constructor.
invertColor(byte) - Static method in class tesuji.games.general.Const
 
invertColor(byte) - Static method in class tesuji.games.go.GoConst
 
isEmpty() - Method in class tesuji.games.go.UniqueList
 
isEmpty() - Method in class tesuji.games.go.IntStack
 
isEmptyTriangle(int, byte, byte[]) - Static method in class tesuji.games.go.Util


Creation date: (09-May-01 6:25:55 PM)

isNeighbour(int, int) - Static method in class tesuji.games.go.GoArray


Creation date: (07-May-01 2:36:04 PM)

isSet(int) - Method in class tesuji.games.go.BoardMarker
Test whether a point was already marked or not.

L

Ladder - class tesuji.games.go.computer.tactics.Ladder.
Module for reading ladders, also called 2-liberty problems.
Ladder(int) - Constructor for class tesuji.games.go.computer.tactics.Ladder
 
LAST - Static variable in class tesuji.games.go.GoArray
 
left(int) - Static method in class tesuji.games.go.GoArray
Return the coordinate one point to the left of the coordinate passed as a parameter.
link(byte, int, byte[], byte[]) - Static method in class tesuji.games.go.GoArray
 
link(int, int, byte[], int[]) - Static method in class tesuji.games.go.GoArray
 
link(Object, int, byte[], Object[]) - Static method in class tesuji.games.go.GoArray
 

M

main(String[]) - Static method in class tesuji.games.TSGLTest
 
MAX - Static variable in class tesuji.games.go.GoArray
 
MAX_ITERATIONS - Static variable in class tesuji.games.go.computer.evaluation.Influence
 
MAXLIBERTY - Static variable in class tesuji.games.go.GoConst
 
MAXMOVE - Static variable in class tesuji.games.go.GoConst
 
MAXPOINTS - Static variable in class tesuji.games.go.GoConst
 
ModuleTest - class tesuji.games.go.computer.evaluation.ModuleTest.
Play through a large number of moves to test the speed of the evaluation module.

For the moment we just call the influence module, which means prisoners aren't removed.
ModuleTest() - Constructor for class tesuji.games.go.computer.evaluation.ModuleTest
 
MOVE_UNDEFINED - Static variable in class tesuji.games.go.GoConst
 

N

next() - Method in interface tesuji.games.general.Cursor
 
NOCARE - Static variable in class tesuji.games.go.GoConst
 
notSet(int) - Method in class tesuji.games.go.BoardMarker
Test whether a point was already marked or not.

O

offset - Static variable in class tesuji.games.go.FourCursor
 

P

PASS - Static variable in class tesuji.games.go.GoConst
 
peek() - Method in class tesuji.games.go.IntStack
 
peek(int) - Method in class tesuji.games.go.IntStack
 
Point - class tesuji.games.general.Point.
Actually the same as java.awt.Point except that it implements the FlyWeight interface for fast object allocation

Creation date: (11-May-01 11:56:07 AM)

Product: Tesuji Software Go Library.

Copyright (c) 2001 Tesuji Software B.V.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Point() - Constructor for class tesuji.games.general.Point
Point constructor comment.
Point(int, int) - Constructor for class tesuji.games.general.Point
 
Point(int, int, Stack) - Constructor for class tesuji.games.general.Point
 
Point(Stack) - Constructor for class tesuji.games.general.Point
 
pop() - Method in class tesuji.games.go.IntStack
 
printCoordinate(int) - Static method in class tesuji.games.go.Util
 
push(int) - Method in class tesuji.games.go.IntStack
 

R

recycle() - Method in interface tesuji.games.general.FlyWeight
 
recycle() - Method in class tesuji.games.go.UniqueList
 
recycle() - Method in class tesuji.games.general.Point
 
recycle() - Method in class tesuji.games.go.IntStack
 
recycleByteArray(byte[]) - Static method in class tesuji.games.go.GoArray
 
recycleIntArray(int[]) - Static method in class tesuji.games.go.GoArray
 
remove(int) - Method in class tesuji.games.go.UniqueList
 
remove(int) - Method in class tesuji.games.go.IntStack
Remove an item from the list.
removeBoardChangeListener(BoardChangeListener) - Method in class tesuji.games.go.computer.evaluation.Influence
 
removeBoardChangeListener(BoardChangeListener) - Method in class tesuji.games.general.BoardChangeSupport
 
removeGameEventListener(GameEventListener) - Method in class tesuji.games.go.computer.tactics.Ladder
 
removeGameEventListener(GameEventListener) - Method in class tesuji.games.go.computer.tactics.Geta
 
removeGameEventListener(GameEventListener) - Method in class tesuji.games.go.GameEventSupport
 
right(int) - Static method in class tesuji.games.go.GoArray
Return the coordinate one point to the rigth of the coordinate passed as a parameter.

S

sendBoardChange(int, byte, byte) - Method in class tesuji.games.go.GameEventSupport
 
sendBoardChange(int, int, byte, byte) - Method in class tesuji.games.general.BoardChangeSupport
 
sendBoardChange(int, int, byte, byte) - Method in class tesuji.games.go.GameEventSupport
 
sendTextEvent(String) - Method in class tesuji.games.go.GameEventSupport
 
set(int) - Method in class tesuji.games.go.BoardMarker
Mark a point as set.
setDameSwitch(boolean) - Method in class tesuji.games.go.computer.evaluation.Influence
Switch the 'dame' feature on or off.
setMask(byte[]) - Static method in class tesuji.games.go.UniqueList
 
setSize(int) - Method in class tesuji.games.go.UniqueList
 
setSize(int) - Method in class tesuji.games.go.IntStack
Setting the size of the number of items on the stack.
setX(int) - Method in class tesuji.games.general.Point
 
setY(int) - Method in class tesuji.games.general.Point
 
SIDE - Static variable in class tesuji.games.go.GoConst
 
start() - Method in interface tesuji.games.general.Cursor
 

T

test(GameEventListener) - Static method in class tesuji.games.go.computer.evaluation.ModuleTest
 
TestGames - class tesuji.games.go.computer.evaluation.TestGames.
All the moves for some complete games that are used for testing.



Creation date: (20-May-01 9:50:04 PM)

Product: Tesuji Software Go Library.

Copyright (c) 2001 Tesuji Software B.V.
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
TestGames() - Constructor for class tesuji.games.go.computer.evaluation.TestGames
 
testGetas(GameEventListener) - Static method in class tesuji.games.go.computer.tactics.Geta
 
testLadders(GameEventListener) - Static method in class tesuji.games.go.computer.tactics.Ladder
 
toString() - Method in class tesuji.games.general.BoardChange
 
toXY(int, int) - Static method in class tesuji.games.go.GoArray
Convert a 2-dimensional coordinate to a 1 dimensional coordinate.
tryEscape(int) - Method in class tesuji.games.go.computer.tactics.Ladder
Try to escape from a ladder with a stone or chain that has one liberty.

The values returned are CAN_CATCH if it can't escape, CANNOT_CATCH if it can escape and CATCH_WITH_KO if there's a ko involved.
tryEscape(int, int) - Method in class tesuji.games.go.computer.tactics.Ladder
Try to escape from a ladder with a stone or chain that has one liberty.

The values returned are CAN_CATCH if it can't escape, CANNOT_CATCH if it can escape and CATCH_WITH_KO if there's a ko involved.
tryLadder(int) - Method in class tesuji.games.go.computer.tactics.Ladder
Try catching a stone in a ladder.
tryLadder(int, int) - Method in class tesuji.games.go.computer.tactics.Ladder
Try catching a stone in a ladder.
TSGLTest - class tesuji.games.TSGLTest.
Simple test program for some Go module.
TSGLTest() - Constructor for class tesuji.games.TSGLTest
 

U

UniqueList - class tesuji.games.go.UniqueList.
This class acts just like IntStack, except that it won't allow the same value in the list more than once.
UniqueList() - Constructor for class tesuji.games.go.UniqueList
 
UniqueList(Stack) - Constructor for class tesuji.games.go.UniqueList
 
update() - Method in class tesuji.games.go.computer.evaluation.Influence
Compute the influence based on the changes made to the board (by using changeBoard) since this method was last called.
Util - class tesuji.games.go.Util.
Here are some routines that are generally usefull and convenient to have.
Util() - Constructor for class tesuji.games.go.Util
 

W

WHITE - Static variable in class tesuji.games.general.Const
 
WHITE - Static variable in class tesuji.games.go.GoConst
 
WHITE_STONE - Static variable in class tesuji.games.go.computer.evaluation.Influence
 
WIDTH - Static variable in class tesuji.games.go.GoArray
 
wouldBeLadder(int, byte) - Method in class tesuji.games.go.computer.tactics.Ladder
See if a move at a certain point would be immediately captured in a ladder.
wouldBeLadder(int, int, byte) - Method in class tesuji.games.go.computer.tactics.Ladder
See if a move at a certain point would be immediately captured in a ladder.

X

x - Variable in class tesuji.games.general.Point
 
xyMoves - Static variable in class tesuji.games.go.computer.evaluation.TestGames
 

Y

y - Variable in class tesuji.games.general.Point
 

A B C E F G H I L M N O P R S T U W X Y