next up previous contents
Next: Refining of AST field Up: Data definitions with AST Previous: Where to put a

Available sol-library functors

In AST-mode supports the following functors. Consider the documentation of the sol-library for more information.


\begin{verbsyntax}\onerule{SolFunctor}{SolGraphFunctor \vert SolSetFunctor}
\one...
...vert 'consset' \vert 'hashset' \vert 'ptrarray' \vert 'bitset'}
\end{verbsyntax}

conslist provides a simple ordered list of objects (adress list). consset provides a linked-list based object set. hashset provides a set module that enters elements using a hash function on the object's address. ptrarray is a pointer-string set module. bitset is a bitset module.

hgraph is a simple unipartite graph with parametrizable neighbor sets. bipuni is a bipartite graph with parametrizable neighbor sets. All graphs of a graph functor type must currently be created `by hand', i.e. the user must create the graph by calling a C Function which is provided by the sol-library. Nodes must be associated to the graph by calling addnode functions. Please consider the documentation of the sol-library for more information on how to call allocation and association functions.

The functors hgraph and bipuni are generic functors. Their modules provide create-functions which can be parametrized by the neighbor set types the graph functor should use. This may be an arbitrary set or list type from the sol-library.


next up previous contents
Next: Refining of AST field Up: Data definitions with AST Previous: Where to put a
Uwe Assmann
1998-12-22