Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How do you name the possibilities?

by EvdB (Deacon)
on Jul 08, 2004 at 08:45 UTC ( #372705=note: print w/ replies, xml ) Need Help??


in reply to How do you name the possibilities?

You might have some luck with defining a standard product and then only specifying the deviations from it. For example you could order a BigMac ( BigMac ), or a BigMac with no cheese ( BigMac-Nc ).

Hopefully this would lead to the common orders being simple ( BigMac ) whilst the complicated orders get longer ( BigMac-NcEgPbNt: BigMac, no cheese, extra gerkins, plain bun, not toasted ). As the odd orders are rare it does not matter that they are longer.

Feel free to adapt to your problem domain.

--tidiness is the memory loss of environmental mnemonics


Comment on Re: How do you name the possibilities?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372705]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-08-23 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls