home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / pmutate.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.2 KB  |  70 lines

  1. -------- SIMTEL20 Ada Software Repository Prologue ------------
  2. --                                                           -*
  3. -- Unit name    : Permutations_Class
  4. -- Version      : 1.0
  5. -- Author       : Doug Bryan
  6. --              : Computer Systems Lab
  7. --              : Stanford University
  8. --              : Stanford CA, 94305
  9. -- DDN Address  : bryan@su-sierra
  10. -- Copyright    : (c) -none-
  11. -- Date created :  15 April 1985
  12. -- Release date :  15 April 1985
  13. -- Last update  :  15 April 1985
  14. -- Machine/System Compiled/Run on : DG MV/10000 ADE 2.2
  15. --
  16. ---------------------------------------------------------------
  17. --                                                           -*
  18. -- Keywords     :
  19. ----------------: permutations, recursion, nested generics,
  20. ----------------: iterators
  21. --
  22. -- Abstract     :
  23. ----------------: This is a generic package which, given an array
  24. ----------------: of items, forms all possible permutations using
  25. ----------------: these items.  The package does so by providing
  26. ----------------: a generic permutation class, within which is an
  27. ----------------: iterator.  The iterator has a generic formal
  28. ----------------: subprogram to which it passes each permutation.
  29. ----------------:
  30. ----------------: The package may make a nice example of the following
  31. ----------------: Ada features: nested generics, recursion, generic
  32. ----------------: formal subprograms as a method of implementing an
  33. ----------------: iterator.
  34. --                                                           -*
  35. ------------------ Revision history ---------------------------
  36. --                                                           -*
  37. -- DATE         VERSION    AUTHOR                  HISTORY
  38. --                                                           -*
  39. --     none yet...
  40. ------------------ Distribution and Copyright -----------------
  41. --                                                           -*
  42. -- This prologue must be included in all copies of this software.
  43. --
  44. -- This software is released to the Ada community.
  45. -- This software is released to the Public Domain (note:
  46. --   software released to the Public Domain is not subject
  47. --   to copyright protection).
  48. -- Restrictions on use or distribution:  NONE
  49. --                                                           -*
  50. ------------------ Disclaimer ---------------------------------
  51. --                                                           -*
  52. -- This software and its documentation are provided "AS IS" and
  53. -- without any expressed or implied warranties whatsoever.
  54. -- No warranties as to performance, merchantability, or fitness
  55. -- for a particular purpose exist.
  56. --
  57. -- Because of the diversity of conditions and hardware under
  58. -- which this software may be used, no warranty of fitness for
  59. -- a particular purpose is offered.  The user is advised to
  60. -- test the software thoroughly before relying on it.  The user
  61. -- must assume the entire risk and liability of using this
  62. -- software.
  63. --
  64. -- In no event shall any person or organization of people be
  65. -- held responsible for any direct, indirect, consequential
  66. -- or inconsequential damages or lost profits.
  67. --                                                           -*
  68. -------------------END-PROLOGUE--------------------------------
  69.  
  70.