Re: Finding algorithms
From: Nils Petter Vaskinn (no_at_spam.for.me.invalid)
Date: 07/31/03
- Next message: Keith Wansbrough: "Re: recv and MSG_WAITALL"
- Previous message: rossb: "Re: Finding algorithms"
- In reply to: Greg P.: "Re: Finding algorithms"
- Next in thread: Kevin Easton: "Re: Finding algorithms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 09:05:49 GMT
On Thu, 31 Jul 2003 04:08:48 +0000, Greg P. wrote:
> "Christopher Wong" <cwong@world.std.com> wrote in message
> news:bga4hs$ijc$1@bob.news.rcn.net...
>> What would make a good resource for algorithms? There are ample
>> references APIs, languages, structure and numerical work. But some
>> applications need
> a
>> little more thinking. For example: a program that sets up matches for a
>> competition, maximizing matchups, randomness and competitiveness.
>> That's a combinatorics and optimization problem. Where would you go to
>> when you want to solve a practical problem rather than spend the next
>> few weeks working through theory?
Do you need perfect or good?
First shot at an algorithm:
1. assign randomly
2. Do a few checks to identify if the alternative sucks
3. If it does suck goto 1
4. done
Then depending on how badly it performs improve the placing in step 1
until performance is acceptable.
The thing is it depends on how much the program is used, if it's used for
one specific competition once a year it's ok if it takes 10 minutes to
find a good setup, compared to an unknown amount of programmer time. If
it's to be used a lot it may be time to get out those combinatorics books.
> A whiteboard, black marker, cold coffee, and a cigarette =)
Cold coffee? ouch! I'd have to be pretty desperate to resort to that.
Whiteboard, several colors markers, paper, pen, hot coffee (but not hot
enough to burn your tounge), cigarettes.
regards
NPV
- Next message: Keith Wansbrough: "Re: recv and MSG_WAITALL"
- Previous message: rossb: "Re: Finding algorithms"
- In reply to: Greg P.: "Re: Finding algorithms"
- Next in thread: Kevin Easton: "Re: Finding algorithms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|