PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Generates all permutations of an array of items


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
Permutations_Class
VERSION
1.0
REVIEW CODE
AR; C1 1.0 B
INET ADDRESS
bryan@su-sierra
AUTHOR
Doug Bryan
Computer Systems Lab
Stanford University
Stanford CA, 94305
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
Not documented in PAL database
DATE CREATED
15 April 1985
DATE RELEASED
15 April 1985
DATE LAST UPDATED
15 April 1985
LOCATION
C2MUG
PC-BLUE
ASR
AdaNET
ENVIRONMENT
DG MV/10000 ADE 2.2
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Monday    30 May       1994 02:50:45Pm
Overall Assessment of System: OK
Classification of System: B
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        PASS
Independence from a Specific Ada Compiler   FAIL

Explanations for failures --
System contains compiler-specific pragmas or uses Machine_Code

Number of ...
Files               1
Library Units       3
Lines             306
Statements         78
Comments          158

FILE LISTING

Directory Display


languages/ada/asr/components/permutate:
  File Name                 Size
  ---------                 ----
  permutate.zip            4,267


Totals
  ==============  ==============
    1 Files                4,267

ABSTRACT

        This  is  a  generic  package  which, given an array of items,
forms all possible permutations using these items.  The  package  does
so  by  providing  a  generic  permutation  class,  within which is an
iterator.  The iterator has a generic formal subprogram  to  which  it
passes each permutation.

        The package may make a  nice  example  of  the  following  Ada
features:  nested generics, recursion, generic formal subprograms as a
method of implementing an iterator.


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
	none yet...


RELEASE NOTICE

This prologue must be included in all copies of this software.

This software is released to the Ada community.
This software is released to the Public Domain (note:
  software released to the Public Domain is not subject
  to copyright protection).
Restrictions on use or distribution:  NONE


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.