Re: how to suppress carefully a recursive tree



On 23 jan, 01:12, David BL <davi...@xxxxxxxxxxxx> wrote:
On Jan 23, 1:10 am, fj <francois.j...@xxxxxxx> wrote:

On 22 jan, 15:52, Jan Hidders <hidd...@xxxxxxxxx> wrote:

On 22 jan, 12:04, fj <francois.j...@xxxxxxx> wrote:

I know how to suppress a normal tree but I meet the following kind of
situation :

I'm guessing that when you say "suppress" you mean "represent in a
database". Correct?

No : I want to destroy, remove, kill ... a part of the data (a
complete tree or just a branch), but without destroying data shared by
other trees or branches.

Would the mark and sweep algorithm suit you purposes?

No

the mark and sweep algorithm needs to know all the tree roots in order
to mark all the used objects.

In my example I indicates that the node b3 belongs to the root r2
just for information to explain the storage count. But the deletion
routine I want to write just receives "r1" as argument, nothing else.
It does not know that r2 exists too ... It is just able to detect the
existence of other objects via the storage count of b3 which is a
little bit too high for being just referenced by r1 !

.



Relevant Pages

  • Re: how to suppress carefully a recursive tree
    ... complete tree or just a branch), but without destroying data shared by ... Would the mark and sweep algorithm suit you purposes? ... If it's in the nested set representation, then there is a simple query to ...
    (comp.databases.theory)
  • OT Rehab redux
    ... Turns out Wednesday is the last of my 24 rehab sessions. ... I have purelyhated that infernal Airdyne and the infernal NuStep ... After my treadmill time, Mark said: "Don: airdyne, 20 minutes at ... drop one of the three trunks of the cottonwood tree in the back yard. ...
    (rec.crafts.metalworking)
  • Re: OT Rehab redux
    ... Treadmill has always been tolerable but until today ... I have purelyhated that infernal Airdyne and the infernal NuStep ... After my treadmill time, Mark said: "Don: airdyne, 20 minutes at ... drop one of the three trunks of the cottonwood tree in the back yard. ...
    (rec.crafts.metalworking)
  • Re: OT Rehab redux
    ... Treadmill has always been tolerable but until today ... I have purelyhated that infernal Airdyne and the infernal NuStep ... After my treadmill time, Mark said: "Don: airdyne, 20 minutes at ... drop one of the three trunks of the cottonwood tree in the back yard. ...
    (rec.crafts.metalworking)
  • Re: TreeView with Recursive TreeNode....
    ... > XML would not be particularly helpful in this case. ... > As Mark says, a function to build up the tree nodes would still have to ... >> view of the data to recurse through then it would simplify the technique ...
    (microsoft.public.dotnet.framework.windowsforms)