I want to create an External Memory Binary Search Tree Data Structure whose data sits in the external memory using stxxl as a library.
For this purpose, which Data Type in STXXL is suitable to use as nodes in the Tree. If we use stxxl:Vector as the Nodes of the tree, how do we hold the pointers to them.
I have read in STXXL:Vector documentation that its obviously not possible to use Pointers which is very logical to understand.
Warning : Do not store references to the elements of an external vector. Such references might be invalidated during any following access to elements of the vector .
Then the Question is what is an alternative to hold a Binary Search Tree Data Structure using 'stxxl' data types ?