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.
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.
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
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