comp.lang.ada
 help / color / mirror / Atom feed
* Re: Smart sorting algorithm ?
@ 2002-07-02 17:50 Gautier direct_replies_not_read
  0 siblings, 0 replies; 28+ messages in thread
From: Gautier direct_replies_not_read @ 2002-07-02 17:50 UTC (permalink / raw)


>Anyone know anything about a sorting algorithm
>that includes the ability to infer the answer
>to a comparison from comparisons already done?

Here are 3.5 algorithms (here for sorting faces of
3D objects)

  http://www.mysunrise.ch/users/gdm/e3d_html/eng3dsor__adb.htm

You can also try to re-use a whole previous sorting,
in some situations it helps a lot.

HTH
____________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/index.htm#Ada

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




^ permalink raw reply	[flat|nested] 28+ messages in thread
* Smart sorting algorithm ?
@ 2002-07-02 16:32 Wes Groleau
  2002-07-02 17:00 ` achrist
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Wes Groleau @ 2002-07-02 16:32 UTC (permalink / raw)



Anyone know anything about a sorting algorithm
that includes the ability to infer the answer
to a comparison from comparisons already done?

The reason I'm asking is that I have a situation
where deciding the order of two items is very slow.

If the program determines that A < B  and later
determines that B < C and stores this information,
then if and when A ? C comes up, it can determine
the answer from the stored information.

I have ideas for two ways to do this, but
if it's already been done.....

I know this is not the best newsgroup for the topic,
and I will ask elsewhere, but if I find an Ada solution,
it's that much better.

-- 
Wes Groleau
http://freepages.rootsweb.com/~wgroleau



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2002-07-15 22:08 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-02 17:50 Smart sorting algorithm ? Gautier direct_replies_not_read
  -- strict thread matches above, loose matches on Subject: below --
2002-07-02 16:32 Wes Groleau
2002-07-02 17:00 ` achrist
2002-07-02 20:00   ` Wes Groleau
2002-07-02 21:57     ` achrist
2002-07-02 22:22       ` Wes Groleau
2002-07-02 22:57         ` achrist
2002-07-03 14:25           ` Wes Groleau
2002-07-08 17:36       ` Ron
2002-07-02 20:48   ` Florian Weimer
2002-07-02 17:21 ` Wilhelm Spickermann
2002-07-02 20:01   ` Wes Groleau
2002-07-02 20:22     ` Tarjei T. Jensen
2002-07-06 13:40       ` Robert Dewar
2002-07-02 18:57 ` Florian Weimer
2002-07-02 20:08   ` Wes Groleau
2002-07-08 21:54 ` Wes Groleau
2002-07-09  4:35   ` Robert Dewar
2002-07-09  7:51   ` tmoran
2002-07-09 14:48   ` Ron
2002-07-10 14:38     ` Wes Groleau
2002-07-10 18:08       ` tmoran
2002-07-10 22:14         ` Wes Groleau
2002-07-09 18:59   ` Ron
2002-07-11 14:40     ` Wes Groleau
2002-07-11 20:04       ` Robert Dewar
2002-07-15 19:37         ` Wes Groleau
2002-07-15 22:08           ` achrist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox