com.wcohen.ss
Class ApproxMemoMatrix

java.lang.Object
  extended by com.wcohen.ss.MemoMatrix
      extended by com.wcohen.ss.ApproxMemoMatrix

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 com.wcohen.ss.MemoMatrix
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 com.wcohen.ss.MemoMatrix
max3, max4, sAt, tAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

outOfRange

public boolean outOfRange(int i,
                          int j)

toString

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

Overrides:
toString in class MemoMatrix