All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
struct_misc.h
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
55 * Elements are stored in an array, which grows dynamically in size as new elements are added to the queue.
57 * The array is organized as follows. The root element (that is the "best" element $r$ with $r <= x$ for all $x$)
58 * is stored in position 0. The children of an element at position $p$ are stored at positions $q_1 = 2*p+1$ and
59 * $q_2 = 2*p+2$. That means, the parent of the element at position $q$ is at position $p = (q-1)/2$.
173 int** successors; /**< adjacency list: for each node (first dimension) list of all successors */
174 void*** arcdatas; /**< arc datas corresponding to the arcs to successors given by the successors array */
175 void** nodedatas; /**< arc datas corresponding to the arcs to successors given by the successors array */
178 int* components; /**< array to store the node indices of the components, one component after the other */
179 int* componentstarts; /**< array to store the start indices of the components in the components array */
|