Hi,
Does anyone have code for this - or what is the best way to do such a
sort from prolog? (My problem is that I have random numbers (say) coming in
'asynchronously' which I need to place in order so that I can 'pop' off the
highest from the 'top' of the 'stack' at any time... while numbers still keep
coming in).
Ruvan.
--
----------------------------------------------------------------------------
<ruvan@clu.cf.ac.uk> Computational Linguistics Unit,
Tel : 0222 874000 ext. 5310 University of Wales College of Cardiff,
Fax : 0222 874293 Cardiff CF1 3EU, UK.
|