Coding Challenge
Malte Brill
revolution at derbrill.de
Tue Mar 8 13:49:12 EST 2011
Thanks for the head ups folks,
Björnke and Mark: I do not have the exact ages to sort by. All I do have is relations:
Malte is older than Björnke
Mark is older than Malte
And now I need to compute if it is valid to say:
- Björnke is older than Mark (obviously not)
- Björnke is the same age as Mark (obviously not)
- Björnke is younger than Mark. (That´s the one)
What comes easy to the human brain in fact appears to be a lot more difficult when having to be tackled computationaly.
Chris: Yes, I want such a list in the end. But in order to finally get this I will need to tell the machine which relations are legal first (the user tells which relations there are) and ideally filter out the data for relations that make no sense. Now I wish it was easy to tell the machine to just use logic and make sense itself :D This comparison has to be done for thousands of entities (children in this case).
Cheers,
Malte
More information about the use-livecode
mailing list