File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes I tried run this double recurrences unsuccessfully, can you help run it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "I tried run this double recurrences unsuccessfully, can you help run it" Watch "I tried run this double recurrences unsuccessfully, can you help run it" New topic
Author

I tried run this double recurrences unsuccessfully, can you help run it

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
I tried run this double recurrences unsuccessfully, can you help run it?
ch15.2 - Dynamic Programming - Matrix multiplication Parenthesize
in Introduction to Algorithms,
* Second edition, by Thomas H. Cormen, Charles E. Leiserson, Ronald
* L. Rivest, and Clifford Stein.



Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

Leonidas Savvides wrote:I tried run this double recurrences unsuccessfully, can you help run it?

ItDoesntWorkIsUseless. So what do you expect, and what does it do instead? Remember, not everybody has that book, so you'll need to tell us.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
solved by

given matrices A1A2A3A4A5A6 with dim series 5,10,3,12,5,50,6 , find propel parenthesize pattern for min scalar multiplications....but do not do the multiplication...

result:

((A[1]A[2])((A[3]A[4])(A[5]A[6])))
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I tried run this double recurrences unsuccessfully, can you help run it