[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a GL sorter
From: |
Rick Riolo |
Subject: |
Re: a GL sorter |
Date: |
Thu, 28 Aug 1997 19:06:34 -0400 (EDT) |
I often write debug output to stderr out of habit,
because sometimes little programs are writing stuff
to stdout (eg if they are in a pipeline) and I like to
see the debug stuff real time.
(I can still mix it all if I want with something like
(prog > outfile) >& outfile
(depending on what shell I using.)
re getID, yea, the Heatbug.h is not included in the Sort file,
so it doesn't know about it. I should do that more cleanly
but as I said is a GLP.
I'd say just comment that debugging out of QSort.m .
- r
Rick Riolo address@hidden
Program for Study of Complex Systems (PSCS)
4068 Randall Lab University of Michigan
Ann Arbor MI 48109-1120
http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
On Thu, 28 Aug 1997, Sven N. Thommesen wrote:
> Date: Thu, 28 Aug 1997 16:21:40 -0500
> From: Sven N. Thommesen <address@hidden>
> To: address@hidden
> Subject: Re: a GL sorter
>
> Thanks for that one, Rick!
>
> Just as I was needing a way to sort a list of objects and scratching my
> head over QSort, your message popped into my mail box. Great timing!
>
> It is also a nice demo of how to let the Class object do all the work --
> the three methods supported all start with a (+). From the objective-C and
> Swarm documentation, one could get the impression that class objects only
> can do 'createBegin' !
>
> Two nitpicks: (a) why do you send debug printf-output to stderr?
> (b) in compiling your demo, I see method 'getID' is not found ...
>
> Sven
>
>
> At 04:19 PM 8/28/97 -0400, you wrote:
> >
> >Since I didn't get any bites on how to use the QSort in src/simtools,
> >I finally decided to just write my own GL (grungy little) sorter.
> >I think it works (after a few tests using the test program
> >that comes with it). Please feel free to get it from
> >
> > http://pscs.physics.lsa.umich.edu//Software/Contents.html
> >
> >and if you find bugs or write a better (faster) version,
> >please let me know.
> >
> > - r
> >
> >ps Amoung other things, that page also an alpha version of an entire
> > Holland-style Classifier System implemented in Swarm, too.
> > The CFS-S also has a early version of a parameter processor
> > (for use with GUI and batch jobs), and it has an
> > EvolAlg (evolutionary algorithm) object.
> > If you download this and try it out, please let me know, too.
> > As I said, its alpha version: there is some doc, but its
> > all only been tested a little.
> >
> >Rick Riolo address@hidden
> >Program for Study of Complex Systems (PSCS)
> >4068 Randall Lab University of Michigan
> >Ann Arbor MI 48109-1120
> >http://pscs.physics.lsa.umich.edu/PEOPLE/rlr-home.html
> >
> >
> > ==================================
> > Swarm-Support is for discussion of the technical details of the day
> > to day usage of Swarm. For list administration needs (esp.
> > [un]subscribing), please send a message to <address@hidden>
> > with "help" in the body of the message.
> > ==================================
> >
>
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
> ==================================
>
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================