net.sf.kagiru.navigation
Class AcrossPuzzleNavigationWrapper

java.lang.Object
  extended by net.sf.kagiru.navigation.NavigationWrapper
      extended by net.sf.kagiru.navigation.AcrossPuzzleNavigationWrapper
All Implemented Interfaces:
java.io.Serializable

public class AcrossPuzzleNavigationWrapper
extends NavigationWrapper

Ensures all cells in a puzzle can be reached via row navigation.

See Also:
Serialized Form

Constructor Summary
AcrossPuzzleNavigationWrapper()
           
 
Method Summary
protected  int wrapColumn(int rawColumn, int rawRow, Puzzle puzzle)
           
protected  int wrapRow(int rawColumn, int rawRow, Puzzle puzzle)
           
 
Methods inherited from class net.sf.kagiru.navigation.NavigationWrapper
wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcrossPuzzleNavigationWrapper

public AcrossPuzzleNavigationWrapper()
Method Detail

wrapColumn

protected int wrapColumn(int rawColumn,
                         int rawRow,
                         Puzzle puzzle)
Specified by:
wrapColumn in class NavigationWrapper

wrapRow

protected int wrapRow(int rawColumn,
                      int rawRow,
                      Puzzle puzzle)
Specified by:
wrapRow in class NavigationWrapper


This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.