Tuesday 07 September 2004 1:26:50 am
Hi there, Have realised there is one issue stopping this working as it should - I think (hope) its only a minor tweak. The problem is that the fuzzy values should always have the non-fuzzy values in their array as well. To try to explain, if I have:
colour = G fuzzy colours = F H
size = 4 fuzzy size = 3 5 The fuzzy fetch needs to be able to look for the colour 'G' as well as size '3' or '5'. In the current code the fuzzy fetch only looks at stones that have values totally different (but one step away) - to cure this the fuzzy values would need to have the exact ones in there, so the example would change to:
colour = G fuzzy colours = F G H
size = 4 fuzzy size = 3 4 5 The problem now is duplicates found in the two fetches. Is it possible to take two fetches and make a comparison such that the second fetch removes any duplicates which it finds through checking the first fetch? Many thanks, Steve.
http://www.oneworldmarket.co.uk
|