TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Feldman <[log in to unmask]>
Reply To:
Michael Feldman <[log in to unmask]>
Date:
Sat, 30 Sep 2000 20:06:59 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
[said Tom]
>
> If you specifically want some Ada sort code, look at Booch's "Software
> Development in Ada" book.
>
or try

  Feldman, M.B.
  Software Construction and Data Structures with Ada 95
  Addison-Wesley, 1997. ISBN 0-201-88795-9
  http://www.awl.com/cseng/titles/0-201-88795-9/

where you'll find generic procedures in Chapter 14 for

Bubble Sort
Delayed Selection Sort
Heap Sort
Linear Insertion Sort
Merge Sort
Quick Sort
Shell Sort
Simple Selection Sort

These are textbook examples, of course, and not intended to be
"industrial strength", but they may suit your purpose.

The source code distribution for this book, including the above,
is available by anonymous ftp in the directory

ftp://ftp.seas.gwu.edu/pub/ada/courses

There are several compressed archives in different archive formats;
the file names all begin with cs2code.

Yours truly,

Michael Feldman
------------------------------------------------------------------------
Michael B. Feldman -  chair, ACM SIGAda Education Working Group
Professor, Department of Computer Science
The George Washington University -  Washington, DC 20052 USA
[log in to unmask] - 202-994-5919 (voice) - 202-994-4875 (fax)
http://www.seas.gwu.edu/faculty/mfeldman
------------------------------------------------------------------------
"Teach me to be an engineer. I don't care if it takes all day."
from a Dilbert comic strip
------------------------------------------------------------------------
Visit http://www.acm.org/sigada/education or http://www.adapower.com
------------------------------------------------------------------------

ATOM RSS1 RSS2