Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: Need an Alg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 15 Topic 970 of 1019
Post > Topic >>

Re: Need an Algorithm

by gwhite@[EMAIL PROTECTED] (Doug White) Mar 16, 2008 at 06:40 PM

Keywords: 
In article <o1kqt3heoigj6tmv64qdh6t8q0nquti64g@[EMAIL PROTECTED]
>, Don Wiss
<donwiss@[EMAIL PROTECTED]
> wrote:
>On Sun, 16 Mar 2008 15:12:37 GMT, gwhite@[EMAIL PROTECTED]
 (Doug White) wrote:
>
>>For inputs, there will be the desired postage, and a vector of available

>>stamp values.  I figure you want to start with multiples of the highest 
>>stamp value, and then work your way down in value(s) to minimize the 
>>number of stamps.  Other possible inputs could be the maximum number of 
>>stamps acceptable and the "comparison tolerance" of how much over the 
>>exact amount is OK.
>
>I have written something similar. It looks at a bunch of folders in a
>folder and finds the best fit that is just less than the size of the DVD
>that I want to burn them to. The logic I follow is a bit hard to explain
>here. It is in APL+Win 7.2. I don't think it will load under version 5.
So
>I've sent you PDF printouts of the two main functions. They are amply
>commented.

Thanks Don!  I've got them, and will go through them and try to sort out 
the underlying logic.  It's a little different problem, but should be 
similar enough to the stamp problem to be a help.  The big difference is 
that you wouldn't put multiple copies of a file on a DVD.

Doug White




 15 Posts in Topic:
Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-16 15:12:37 
Re: Need an Algorithm
"jk" <*axy*@  2008-03-16 15:42:19 
Re: Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-16 18:41:09 
Re: Need an Algorithm
"graham" <h2  2008-03-16 14:51:30 
Re: Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-16 18:46:46 
Re: Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-16 19:05:44 
Re: Need an Algorithm
Don Wiss <donwiss@[EMA  2008-03-16 14:32:42 
Re: Need an Algorithm
Don Wiss <donwiss@[EMA  2008-03-16 13:00:46 
Re: Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-16 18:40:08 
Re: Need an Algorithm
Don Wiss <donwiss@[EMA  2008-03-16 14:27:37 
Re: Need an Algorithm
Don Wiss <donwiss@[EMA  2008-03-20 19:41:18 
Re: Need an Algorithm
gwhite@[EMAIL PROTECTED]   2008-03-21 00:57:42 
Re: Need an Algorithm
"Curtis A. Jones&quo  2008-03-16 13:41:13 
Re: Need an Algorithm
"James J. Weinkam&qu  2008-03-17 17:14:55 
Re: Need an Algorithm
sethb@[EMAIL PROTECTED]   2008-03-20 19:22:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 9:11:24 CDT 2008.