• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.20 library(heaps): heaps/priority queues
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(heaps): heaps/priority queues
          • add_to_heap/4
          • delete_from_heap/4
          • empty_heap/1
          • singleton_heap/3
          • get_from_heap/4
          • heap_size/2
          • heap_to_list/2
          • is_heap/1
          • list_to_heap/2
          • min_of_heap/3
          • min_of_heap/5
          • merge_heaps/3
    • Packages
Availability::- use_module(library(heaps)).(can be autoloaded)
Source[semidet]delete_from_heap(+Heap0, -Priority, +Key, -Heap)
Deletes Key from Heap0, leaving its priority in Priority and the resulting data structure in Heap. Fails if Key is not found in Heap0.
bug
This predicate is extremely inefficient and exists only for SICStus compatibility.
ClioPatria (version V3.1.1-51-ga0b30a5)