4.14.4 Tries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Database
          • Tries
            • trie_new/1
            • trie_destroy/1
            • is_trie/1
            • current_trie/1
            • trie_insert/3
            • trie_update/3
            • trie_insert/4
            • trie_delete/3
            • trie_lookup/3
            • trie_term/2
            • trie_gen/3
            • trie_property/2
    • Packages
Availability:built-in
Source[nondet]trie_property(?Trie, ?Property)
True if Trie exists with Property. Intended for debugging and statistical purposes. Retrieving some of these properties visit all nodes of the trie. Defined properties are
value_count(-Count)
Number of key-value pairs in the trie.
node_count(-Count)
Number of nodes in the trie.
size(-Bytes)
Required storage space of the trie.
hashed(-Count)
Number of nodes that use a hashed index to its children.