Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
24
Task/Priority-queue/Logtalk/priority-queue-2.logtalk
Normal file
24
Task/Priority-queue/Logtalk/priority-queue-2.logtalk
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
:- object(minheap,
|
||||
extends(heap(<))).
|
||||
|
||||
:- info([
|
||||
version is 1:0:0,
|
||||
author is 'Paulo Moura.',
|
||||
date is 2010-02-19,
|
||||
comment is 'Min-heap implementation. Uses standard order to compare keys.'
|
||||
]).
|
||||
|
||||
:- end_object.
|
||||
|
||||
|
||||
:- object(maxheap,
|
||||
extends(heap(>))).
|
||||
|
||||
:- info([
|
||||
version is 1:0:0,
|
||||
author is 'Paulo Moura.',
|
||||
date is 2010-02-19,
|
||||
comment is 'Max-heap implementation. Uses standard order to compare keys.'
|
||||
]).
|
||||
|
||||
:- end_object.
|
||||
Loading…
Add table
Add a link
Reference in a new issue