[BACK]Return to generate_unions.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / Root_Counts / Product

File: [local] / OpenXM_contrib / PHC / Ada / Root_Counts / Product / generate_unions.ads (download)

Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:29 2000 UTC (23 years, 8 months ago) by maekawa
Branch: PHC, MAIN
CVS Tags: v2, maekawa-ipv6, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, HEAD
Changes since 1.1: +0 -0 lines

Import the second public release of PHCpack.

OKed by Jan Verschelde.

generic

  type boolean_array is array ( integer range <> ) of boolean;
  with procedure Process ( ar : in boolean_array; continue : out boolean );

procedure Generate_Unions ( k,first,last : in integer );

-- DESCRIPTION :
--   This procedure generates all possible unions of k elements in the
--   range first..last.