Class ApproxMemoMatrix

  extended by
      extended by

public abstract class ApproxMemoMatrix
extends MemoMatrix

Variant of MemoMatrix that only stores values near the diagonal, for better efficiency.

Field Summary
Fields inherited from class
cellFormat, printNegativeValues, s, t
Method Summary
 boolean outOfRange(int i, int j)
 java.lang.String toString()
          Print the matrix, for debugging and/or explanation.
Methods inherited from class
max3, max4, sAt, tAt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail


public boolean outOfRange(int i,
                          int j)


public java.lang.String toString()
Print the matrix, for debugging and/or explanation.

toString in class MemoMatrix