Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-05-30 16:34 GMT
Find Nodes?
    Voting Booth?