initialize_table
Tabled subgoals and answers are accumulated in the table area until the table area is initialized explicitly.
Tabled calls are stored in a hashtable, called subgoal table, and for each tabled call and its variants, a hashtable, called answer table, is used to store the answers for the call. The bucket size for the subgoal table is initialized to 9001. To change or access this size, use the following built-in predicate:
subgoal_table_size(SubgoalTableSize)
which sets the size if SubgoalTableSize is an integer and gets the current size if SubgoalTableSize is a variable.
The following two built-ins are provided for fetching answers from the table.
Neng-Fa Zhou 2012-01-03