Re: Encoding materialized path in an atomic value.



David Cressey wrote:
>
> "Hugo Kornelis" <hugo@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:4eq8j1pvan8qnmo7sh8235eamtraqmae41@xxxxxxxxxx
> > On Fri, 23 Sep 2005 20:24:42 GMT, David Cressey wrote:
>
> > Maybe I'm missing something here? What would the code be for your
> > father's father's father's mother's father's mother? If I understand the
> > method correctly, the binary LSB-first notation would be 111010. And
> > that would also be 23 in decimal.
> >
> > >23 is, I think we will all agree "atomic" or "simple" enough so that it
> > >can be stored in a single value.
> >
> > Yeah. But in this case, it lacks unambiguity.
> >
> > Best, Hugo
> > --
>
> Hugo,
>
<snip>
If you do that, the ambiguity you mention disappears.
>
> Your parents become 2 and 3
> Your grandparents become 4 through 7,
> Your great grandparents become 8 through 15
> and so on.
<snip>
not so, you can be the offspring of the same person in more than one way.
The same person might even be present in different generations.

Otherwise everybody would have had some 2 ** 240000 grandgrand....parents a time
ago.

Wolfgang
.



Relevant Pages

  • Re: what are keys and surrogates?
    ... a mother, and a name, but no other attributes. ... How do you record great-to-the-8th ... grandparents yet and so do not have FatherIDs and MotherIDs for your ...
    (comp.databases.theory)
  • Re: Harry... Heir of Gryffindor?
    ... >> massively important to the plot, of course, but the grandparents? ... Ash nazg durbatuluk, ...
    (alt.fan.harry-potter)
  • Re: Harry... Heir of Gryffindor?
    ... >>> My best guess is the sentence 'I mean, James and Lily are ... >>> massively important to the plot, of course, but the grandparents? ...
    (alt.fan.harry-potter)
  • Re: Question about a dead man
    ... > I'll be heading that way 2nd or 3rd week of next month. ... > their first child so The grandparents will be visiting..We will have to get ...
    (rec.motorcycles.harley)
  • Re: Rowling answers fans final questions
    ... :>: the Potters. ... :> MY only assumption on the derivation of the names Rose and Hugo ... Many people name their children after parents, or grandparents. ... For some reason,when I read the epilogue I can't help seeing Rose ...
    (alt.fan.harry-potter)