Algorithm 29 efficient algorithms for doubly and multiply restricted partitions
暂无分享,去创建一个
An account is given of algorithms for constructing partitions of an integer into a specified number of parts (with or without the requirement that the parts be distinct). The allowed parts may form a segment or a more general prescribed set of integers. Two ALGOL procedures are given, and some computational results are discussed.ZusammenfassungEs werden Algorithmen beschrieben zur Konstruktion der Partitionen einer ganzen Zahl in eine vorgeschriebene Anzahl von (verschiedenen oder nicht notwendig verschiedenen) Teilen. Die zugelassenen Teile können aus einem ganzzahligen Intervall oder einer allgemeineren Menge von ganzen Zahlen gewählt werden. Zwei ALGOL-Prozeduren werden angegeben, und einige Resultate diskutiert.
[1] W. Riha,et al. Algorithm 28 algorithm for generating graphs of a given partition , 1976, Computing.
[2] John McKay. Algorithm 263: Partition generator , 1965, CACM.
[3] JOHN S. WHITE. Algorithm 374: Restricted partition generator [A1] , 1970, CACM.