|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--applications.RecursiveDPMatrixChain2
Constructor Summary | |
RecursiveDPMatrixChain2()
|
Method Summary | |
static void |
main(java.lang.String[] args)
driver program |
static int |
matrixChain(int[] r,
int[][] kay)
set class data members and invoke method c |
static void |
traceback(int[][] kay,
int i,
int j)
output best way to compute Mij |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RecursiveDPMatrixChain2()
Method Detail |
public static int matrixChain(int[] r, int[][] kay)
public static void traceback(int[][] kay, int i, int j)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |