[CADIHash.h Index] [CADIHash.h Hierarchy]
A very simple accessor for hierarchies of images Stored in an XML file More...
#include <../libInvertedFile/include/CAcHierarchy.h>
Inherits: CAccessorImplementation
A very simple accessor for hierarchies of images Stored in an XML file.
This is the ultra simple example system for the browser benchmarking paper.
Please note that IDs must start at 1 (ONE!!!).
constructor opens a hierarchy file and reads it.
gets the children of an element
Adds an element to the collection
pushes the node onto the stack
pops the node and registers the edge from new top to old top and back
has this been successfully read?
is this well constructed ?
A stack of the nodes visited when building the hierarchy
Edges: The edges from father to son. The edges from son to father are not needed, because it means simply popping from the path.
called immediately by the constructor, this function does the main construction work. Starts the xml parser for reading the hierarchy file etc.
adds an edge from father to son and an edge from son to father
| Kdoc |