If it assumes this, how does it ensure it gets the correct
node/link/TruthValue back? Since the getHandle method returns a single
atom, but there may be more than one atom that matches the getHandle
parameters (since fresh=true overrides the check to make sure atoms
are unique). Or if PLN uses getHandleSet instead and retrieves a
number matching handles (thus getting around only singular results
being returned), how does it work out which specific handle and thus
which TV to use?
... actually, I just realised that one can simply follow the outgoing
links of the root and trace along the tree. So I'm assuming this is
how the outgoing tree is fetched?
Right, since all adds under a given tree need to have the same version
I'll have to think some more about this, and then look at the code
more. Actually, since I'm essentially replacing Handles with
pair<Handle,VersionHandle> in Vertex (and thus vtree), it should be
possible to easily find the context of a tree before performing an
add. In fact, would it be possible to use the root atom of each tree
as the context?