JP3394467B2 - How to create a Latin rectangle - Google Patents

How to create a Latin rectangle

Info

Publication number
JP3394467B2
JP3394467B2 JP09078099A JP9078099A JP3394467B2 JP 3394467 B2 JP3394467 B2 JP 3394467B2 JP 09078099 A JP09078099 A JP 09078099A JP 9078099 A JP9078099 A JP 9078099A JP 3394467 B2 JP3394467 B2 JP 3394467B2
Authority
JP
Japan
Prior art keywords
axis
ijk
latin
symbol
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP09078099A
Other languages
Japanese (ja)
Other versions
JP2000285101A (en
Inventor
徹 伊東
Original Assignee
エヌイーシーネットワーク・センサ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by エヌイーシーネットワーク・センサ株式会社 filed Critical エヌイーシーネットワーク・センサ株式会社
Priority to JP09078099A priority Critical patent/JP3394467B2/en
Publication of JP2000285101A publication Critical patent/JP2000285101A/en
Application granted granted Critical
Publication of JP3394467B2 publication Critical patent/JP3394467B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は、暗号通信に使用さ
れる変換表とか、実験計画法、統計学における同一性を
持たない組合せの設定等に利用されるラテン方体の作成
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a conversion table used for cryptographic communication, an experimental design method, a method for creating a Latin cube used for setting combinations having no identity in statistics, etc. is there.

【0002】[0002]

【従来の技術】本発明の説明のために、ラテン方体の基
本的性質を説明する。n個の記号から成る集合A={a
1 ,・・・,an }の各元をn回ずつ使って、合計n3
個を3つの方向(X軸(縦)方向、Y軸(横)方向、Z
軸(奥行き)方向)にそれぞれn個の要素を持つ立方体
に配列し、各方向において、Aの各元が1度づつ現れる
もの、すなわち互いの同じ位置に同じ値を持たないn次
ラテン方陣をn個重ね合わせたものをA上のラテン方
体、あるいはn次ラテン方体と云う。
2. Description of the Prior Art For the purpose of explaining the present invention, the basic properties of the Latin cube will be explained. A set of n symbols A = {a
Using each element of 1 , ..., a n } n times, a total of n 3
Pieces in three directions (X-axis (vertical) direction, Y-axis (horizontal) direction, Z
Arrange in a cube with n elements each in the axis (depth) direction, and each element of A appears once in each direction, that is, an nth-order Latin square that does not have the same value at the same position as each other. A superposition of n pieces is called a Latin cube on A or an nth-order Latin cube.

【0003】1次のラテン方体は、 A={0} a(0,0,0)=0 とすると、2次元表示では、図1に示すようになり、3
次元座標で表示すると、図2に示すようになる。
When a first-order Latin cube is A = {0} a (0,0,0) = 0, the two-dimensional display is as shown in FIG.
The display in dimensional coordinates is as shown in FIG.

【0004】次に、2次のラテン方体の基本形を示す。 A={0,1} a(0,0,0)=0、 a(0,1,0)=1 a(1,0,0)=1、 a(1,1,0)=0 a(0,0,1)=1、 a(0,1,1)=0 a(1,0,1)=0、 a(1,1,1)=1 とすると、2次元表示では、図3に示すようになり、こ
の二つの表(Z=0とZ=1)を重ねて、3次元座標で
表示すると、図4に示すようになる。
Next, the basic form of a quadratic Latin cube will be shown. A = {0,1} a (0,0,0) = 0, a (0,1,0) = 1 a (1,0,0) = 1, a (1,1,0) = 0 a (0,0,1) = 1, a (0,1,1) = 0 a (1,0,1) = 0, and a (1,1,1) = 1 As shown in FIG. 3, when these two tables (Z = 0 and Z = 1) are overlapped and displayed in three-dimensional coordinates, it becomes as shown in FIG.

【0005】3次のラテン方体の標準形の一例を2次元
表示すると図5に示すようになり、この図5における
(・)の要素の値は、ラテン方体を形成する任意の値が
設定されているものであり、この図5のラテン方体は、
X軸、Y軸、Z軸に沿った並びの配列要素の値のいずれ
も0〜2の昇順(自然順列)になっているので、標準形
(既約形)である。
FIG. 5 shows an example of a standard form of a cubic Latin cube in two dimensions. The value of the element (.) In FIG. 5 is an arbitrary value forming a Latin cube. It is set, and the Latin box in this Figure 5 is
The values of the array elements arranged along the X axis, the Y axis, and the Z axis are all in the ascending order (natural permutation) of 0 to 2, and are therefore standard forms (irreducible forms).

【0006】標準形のラテン方体の個数は公に示されて
はいないが、L3(n)として表すと、n次ラテン方体
の総数は、n!・(n−1)!・(n−1)!・L3
(n)で表すことができ、L3(n)の値はnが5以下
のときでは、 L3(1)=1 L3(2)=1 L3(3)=1 L3(4)=64 L3(5)=40246 で、各次数におけるラテン方体の総数は、1次=1、2
次=2、3次=24、4次=55296、5次=278
1803520となる。
Although the number of standard Latin cuboids is not publicly disclosed, when expressed as L3 (n), the total number of n-th order Latin cuboids is n!・ (N-1)!・ (N-1)!・ L3
The value of L3 (n) can be represented by (n), and when n is 5 or less, L3 (1) = 1 L3 (2) = 1 L3 (3) = 1 L3 (4) = 64 L3 ( 5) = 40246, the total number of Latin cubes in each degree is 1st order = 1, 2
Next = 2, third = 24, fourth = 55296, fifth = 278
1803520.

【0007】[0007]

【発明が解決しようとする課題】ラテン方体は、上記し
た構成となっているものなのであるが、従来は、ラテン
方体を規則的に作成する方法がなく、試行錯誤的に作成
を行っており、例えば4次のラテン方体を作成する場
合、 A={0,1,2,3} とすると、0,1,2,3をX軸の1番目の並びの配列
要素の値とし、2番目以降の並びは、1番目の配列要素
の値を一つずつずらしたものをY軸及びZ軸方向の配列
要素の値として、ラテン方体を作成していたが、これで
はラテン方体の作成が難しくかつ面倒であるばかりでな
く、作成できるラテン方体の数が制限されるため、ラテ
ン方体の利用範囲を狭めると共に、ラテン方体の利用価
値および利用効果を高めることができない、と云う問題
があった。
The Latin cube has the above-mentioned structure. However, conventionally, there is no method for regularly preparing the Latin cube, and the Latin cube is prepared by trial and error. In the case of creating a quartic Latin cube, for example, if A = {0,1,2,3}, then 0,1,2,3 is the value of the first array element on the X axis, For the second and subsequent rows, the Latin cube was created by shifting the values of the first array element one by one as the values of the array elements in the Y-axis and Z-axis directions. Not only is it difficult and troublesome to create, but the number of Latin cubes that can be created is limited, so it is not possible to narrow the range of use of the Latin cubes and increase the utility value and utilization effect of the Latin cubes. There was a problem called.

【0008】そこで、本発明は、上記した従来技術にお
ける問題点を解消すべく創案されたもので、所望する次
数のラテン方体を一定の手法に従って規則的に作成する
のを可能にすることを技術的課題とし、もってラテン方
体の利用範囲を広げ、かつラテン方体の利用価値および
利用効果を飛躍的に高めることを目的とする。
Therefore, the present invention was devised to solve the above-mentioned problems in the prior art, and makes it possible to regularly create a Latin cube of a desired degree according to a certain method. It is a technical issue to broaden the range of use of Latin cubes and to dramatically increase the utility value and utilization effect of Latin cubes.

【0009】[0009]

【課題を解決するための手段】(以下、図6参照)上記
技術的課題を解決する本発明の内、請求項1記載の発明
の手段は、ラテン方陣を3次元(縦方向をX軸、横方向
をY軸、奥行き方向をZ軸とする)に配置した作成しよ
うとするラテン方体Rの次数nを設定すると共に、この
次数n分の記号mを順列およびこの順列に従った選択順
を定めて設定する制御部1を有すること、制御部1に設
定した次数nに対応してラテン方体記憶用配列12の各
位置AIJKを設定するラテン方体作成部2を有するこ
と、ラテン方体作成部2が、制御部1に予め定めた制御
プログラムに従って、ラテン方体記憶用配列12の各位
置AIJK に記号mの一つを配列要素EIJK として選択す
る際に、この選択決定を、X軸IあるいはY軸Jあるい
はZ軸Kに沿って、このX軸IおよびY軸JおよびZ軸
Kの最後の位置AIJK まで順に行うと共に、各位置A
IJK 毎に、同一X軸IおよびY軸JおよびZ軸Kの前の
位置AIJK の既に決定されている配列要素EIJK と同一
記号mとならないように、記号mを選択順に選択するこ
と、にある。
Means for Solving the Problems (Hereinafter, refer to FIG. 6) Among the inventions for solving the above-mentioned technical problems, the means of the invention described in claim 1 is a three-dimensional Latin square (longitudinal direction is the X axis, The degree n of the Latin cube R to be created with the horizontal direction being the Y axis and the depth direction being the Z axis is set, and the symbol m for this degree n is permuted and the selection order according to this permutation is set. Has a control unit 1 for setting and setting, and a Latin cube creating unit 2 for setting each position A IJK of the Latin cube storage array 12 corresponding to the degree n set in the control unit 1. When the box creation unit 2 selects one of the symbols m as an array element E IJK for each position A IJK of the Latin box storage array 12 according to a control program predetermined by the control unit 1, this selection decision is made. Along the X-axis I or Y-axis J or Z-axis K Performs in order until the last position A IJK axis I and Y axis J and Z axes K, each position A
For each IJK , select the symbol m in the order of selection so that it is not the same symbol m as the previously determined array element E IJK of the position A IJK before the same X-axis I and Y-axis J and Z-axis K, It is in.

【0010】請求項1記載の発明は、作成するラテン方
体Rの次数nを設定すると共に、この次数n分の記号m
を順列および順列に従った選択順を定めて設定するが、
この記号mの順列および順列に従った選択順とは、例え
ば次数nが4次で記号mとして(0,1,2,3)を設
定した場合、0→1→2→3を順列(自然順列)とする
と定めることであり、また0→1→2→3の順に選択す
ることを定めることである。
According to the first aspect of the present invention, the degree n of the Latin cube R to be created is set and the symbol m corresponding to the degree n is set.
Set permutation and selection order according to permutation,
The permutation of the symbol m and the selection order according to the permutation are, for example, when the order n is quartic and (0, 1, 2, 3) is set as the symbol m, 0 → 1 → 2 → 3 is permuted (natural Permutation), and to select in the order of 0 → 1 → 2 → 3.

【0011】設定される記号mは特に限定されるもので
はなく、上記した例の他に、例えば(1,2,3,4)
とか(a,b,c,d)を任意に設定でき、これらの記
号mに従って作成されるラテン方体Rを構成するラテン
方陣の例としては、図8、図9、図10に示すようなも
のとなる。
The symbol m to be set is not particularly limited, and in addition to the above example, for example, (1, 2, 3, 4)
(A, b, c, d) can be arbitrarily set, and examples of the Latin squares that compose the Latin cube R created according to these symbols m are as shown in FIGS. 8, 9, and 10. Will be things.

【0012】ラテン方体作成部2のラテン方体記憶用配
列12を利用して、ラテン方体Rの各位置AIJK に対す
る配列要素EIJK としての記号mの一つの選択決定は、
最初の位置A111 から図11に示すように、X軸Iに沿
って行うか、または図12に示すように、Y軸Jに沿っ
て行うか、または図13に示すように、Z軸Kに沿って
行うかの何れか一つの手法に従って行われるものである
が、記号mの選択決定に際しては、その位置AIJK と同
じX軸IおよびY軸JおよびZ軸Kの前の位置AIJK
すなわち既に配列要素EIJK が決定されている位置A
IJK の配列要素EIJK とは異なる記号mの値を選択する
ので、これを繰り返すことにより、ラテン方体Rの作成
が達成されることになる。
Using the Latin cube storage array 12 of the Latin cube creation unit 2, one selection decision of the symbol m as the array element E IJK for each position A IJK of the Latin cube R is performed.
From the initial position A 111 , as shown in FIG. 11, along the X-axis I, or as shown in FIG. 12, along the Y-axis J, or as shown in FIG. 13, the Z-axis K. but are intended to be performed in accordance with any one of the techniques or carried along, during the selection decision symbols m, previous position a IJK the same X-axis I and Y axis J and Z axes K and its position a IJK ,
That is, the position A where the array element E IJK has already been determined
Since the value of the symbol m different from the array element E IJK of IJK is selected, by repeating this, the creation of the Latin cube R is achieved.

【0013】すなわち、ラテン方体Rの各位置AIJK
対する配列要素EIJK としての記号mの一つの選択決定
は、図11の場合は、位置位置A111 →A211 →A311
→A411 →A112 →A212 →・・・→A344 →A444
なり、図12の場合は、位置位置A111 →A121 →A
131 →A141 →A211 →A221 →・・・→A434 →A
444 となり、図13の場合は、位置位置A111 →A112
→A113 →A114 →A121 →A122 →・・・→A443
444 となる。
[0013] That is, one selection decision symbol m as array element E IJK for each position A IJK of Latin body R is in the case of FIG. 11, position location A 111 → A 211 → A 311
→ A 411 → A 112 → A 212 → ・ ・ ・ → A 344 → A 444 , and in the case of FIG. 12, position position A 111 → A 121 → A
131 → A 141 → A 211 → A 221 → ・ ・ ・ → A 434 → A
It becomes 444 , and in the case of FIG. 13, the position position A 111 → A 112
→ A 113 → A 114 → A 121 → A 122 → ・ ・ ・ → A 443
It becomes A 444 .

【0014】請求項2記載の発明は、請求項1記載の発
明の構成に、各位置AIJK 毎に、同一X軸IおよびY軸
JおよびZ軸Kの前の位置AIJK の既に決定されている
配列要素EIJK と同一記号mとならないように、順に記
号mを選択するに際して、任意の位置AIJK で選択決定
することのできる記号mが無い場合には、任意の位置A
IJK の一つ前の位置AIJK の既に決定されている配列要
素EIJK の記号mを、この記号mよりも順位が下位であ
る選択できる記号mに換えて選択決定を継続する、こと
を加えたものである。
According to a second aspect of the present invention, in the structure of the first aspect of the invention, the position A IJK before the same X-axis I, Y-axis J and Z-axis K is already determined for each position A IJK. When the symbols m are sequentially selected so that the same symbol m as that of the array element E IJK is not selected, if there is no symbol m that can be selected and determined by the arbitrary position A IJK , the arbitrary position A is selected.
The symbol m of the already determined array element E IJK of the position A IJK immediately before IJK is replaced with a selectable symbol m having a lower rank than this symbol m, and the selection decision is continued. It is a thing.

【0015】この請求項2記載の発明にあっては、途中
の位置AIJK で選択決定することのできる記号mが無い
事態が発生した場合に、記号mの選択決定処理を継続さ
せる方法を示すもので、この場合、一つ前の位置AIJK
に戻って、この位置AIJK の配列要素EIJK として既に
決定されている記号mを選択順の下位の記号mに換える
ことにより、選択決定することのできる記号mが無かっ
た次の位置AIJK で、少なくとも前の位置AIJK で換え
られた記号mを選択決定できる可能性を得ることができ
る。
According to the second aspect of the present invention, a method for continuing the selection and determination process of the symbol m when a situation occurs in which there is no symbol m that can be selectively determined at the position A IJK on the way is shown. In this case, the previous position A IJK
Returning to, by previously changing the symbol m which is determined in the symbol m of the lower selection order as array elements E IJK in this position A IJK, the next position A IJK symbol m was not capable of selecting and determining Thus, it is possible to obtain the possibility that at least the symbol m exchanged at the previous position A IJK can be selectively determined.

【0016】請求項3記載の発明は、請求項1記載の発
明の構成に、記号mの選択順を、この記号mの順列の順
に設定する、ことを加えたものである。
According to a third aspect of the present invention, in addition to the configuration of the first aspect of the invention, the selection order of the symbols m is set in the order of the permutation of the symbols m.

【0017】この請求項3記載の発明にあっては、記号
mの選択順を、記号mの順列順、すなわち自然順列の順
に特定したもので、作成されるラテン方体Rは標準形ラ
テン方体となる。
According to the third aspect of the present invention, the selection order of the symbols m is specified in the order of the permutations of the symbols m, that is, the natural permutations, and the created Latin cube R is the standard Latin box. Become a body.

【0018】請求項4記載の発明は、請求項1記載の発
明の構成に、第一のX軸Iと第一のY軸Jと第一のZ軸
Kの位置AIJK の配列要素EIJK の記号mを予め標準形
ラテン方体と同じ値に定め、残りの位置AIJK の配列要
素EIJK の記号mの選択決定を、位置A122 もしくは位
置A212 もしくは位置A221 から順に行う、ことを加え
たものである。
According to a fourth aspect of the present invention, the arrangement element E IJK of the position A IJK of the first X-axis I, the first Y-axis J and the first Z-axis K is added to the configuration of the invention of the first aspect. The symbol m of is preset to the same value as the standard Latin cube , and the symbols m of the array elements E IJK of the remaining positions A IJK are selected and determined in order from the position A 122, the position A 212, or the position A 221. Is added.

【0019】この請求項4記載の発明にあっては、標準
形ラテン方体を簡便に作成することになり、図14、図
15、図16に示すように、配列要素EIJK の記号mが
選択決定される位置AIJK は、X軸IあるいはY軸Jあ
るいはZ軸Kに沿って順に行われることには変わりはな
い。
According to the fourth aspect of the present invention, the standard Latin cube is simply created. As shown in FIGS. 14, 15 and 16, the symbol m of the array element E IJK is The position A IJK that is selected and determined remains unchanged along the X axis I, the Y axis J, or the Z axis K.

【0020】すなわち、ラテン方体Rの各位置AIJK
対する配列要素EIJK としての記号mの一つの選択決定
は、図14の場合は、位置A212 →A321 →A421 →A
213→A313 →・・・・→A344 →A444 となり、図1
5の場合は、位置A122 →A132 →A142 →A123 →A
133 →・・・→A434 →A444 となり、図16の場合
は、位置A122 →A123 →A124 →A132 →A133 →・
・・→A443 →A444となる。
[0020] That is, one selection decision symbol m as array element E IJK for each position A IJK of Latin body R is in the case of FIG. 14, the position A 212 → A 321 → A 421 → A
213 → A 313 → ・ ・ ・ ・ ・ ・ → A 344 → A 444
In case of 5, position A 122 → A 132 → A 142 → A 123 → A
133 → ・ ・ ・ → A 434 → A 444 , and in the case of FIG. 16, position A 122 → A 123 → A 124 → A 132 → A 133 → ・
・ →→ A 443 → A 444

【0021】請求項5記載の発明は、本発明の他の構成
を示すもので、その手段は、ラテン方陣を3次元(縦方
向をX軸、横方向をY軸、奥行き方向をZ軸とする)に
配置した作成しようとするラテン方体Rの次数nを設定
し、この次数n分の記号mを順列およびこの順列に従っ
た選択順を定めて設定する制御部1と、この制御部1に
設定した次数nに対応してラテン方体記憶用配列12の
各位置AIJK を設定するラテン方体作成部2と、を有す
ること、制御部1に対する次数nの設定と、記号mの順
列およびこの順列に従った選択順の設定を、ラテン方体
記憶用配列12に対する既存のラテン方体の設定により
達成すること、制御部1に予め定めた制御プログラムに
従って、ラテン方体記憶用配列12のX軸IおよびY軸
JおよびZ軸Kの最後の位置Annn から、X軸Iおよび
Y軸JおよびZ軸Kに沿って、既存の配列要素EIJK
記号mよりも選択順が下位である記号mを選択できる位
置AIJK まで順に戻ること、この位置AIJK からX軸I
あるいはY軸JあるいはZ軸Kに沿って最後の位置A
nnn まで、各位置AIJK 毎に同一X軸IおよびY軸Jお
よびZ軸Kの前の位置AIJK の既に決定されている配列
要素EIJK と同一記号mとならないように、順に配列要
素EIJK の記号mを選択決定すること、にある。
A fifth aspect of the present invention shows another configuration of the present invention, wherein the means is a three-dimensional Latin square (longitudinal direction is X axis, lateral direction is Y axis, and depth direction is Z axis). And a control unit 1 for setting the order n of the Latin cube R to be created and deciding the order m and the symbols m corresponding to the order n and the selection order according to the permutation, and the control unit 1. A Latin cube creation unit 2 that sets each position A IJK of the Latin cube storage array 12 corresponding to the degree n set to 1; setting the order n to the control unit 1; The setting of the permutation and the selection order according to this permutation is achieved by the setting of the existing Latin cube for the Latin cube storage array 12, and the Latin cube storage array is set according to a control program predetermined in the control unit 1. 12 X-axis I and Y-axis J and Z-axis K maximum From the subsequent position A nnn, back to the position A IJK along the X-axis I, the Y-axis J, and the Z-axis K, to the position A IJK at which the symbol m having a lower selection order than the symbol m of the existing array element E IJK can be selected. That is, from this position A IJK to the X-axis I
Or the final position A along the Y axis J or the Z axis K
Up to nnn , the array element E is sequentially arranged so as not to have the same symbol m as the already determined array element E IJK of the position A IJK before the same X axis I, Y axis J, and Z axis K for each position A IJK. Select and determine the symbol m of IJK .

【0022】この請求項5記載の発明にあっては、一つ
の既存のラテン方体から、この既存のラテン方体と同じ
次数n、同じ記号mの別のラテン方体Rを作成する手法
を開示しており、作成されたラテン方体Rを既存のラテ
ン方体として、同一操作を繰り返すことにより、次数が
n、記号がmである全てのラテン方体Rを作成すること
ができる。
According to the fifth aspect of the present invention, a method for creating another Latin cube R having the same degree n and the same symbol m as one existing Latin cube from one existing Latin cube is used. It is disclosed, and by using the created Latin cube R as an existing Latin cube, by repeating the same operation, it is possible to create all the Latin cubes R whose degree is n and whose symbol is m.

【0023】請求項6記載の発明は、請求項5記載の発
明の構成に、既存のラテン方体を設定したラテン方体記
憶用配列12のX軸IおよびY軸JおよびZ軸Kの最後
の位置Annn から、X軸I、Y軸JおよびZ軸Kに沿っ
て、既存の配列要素EIJK の記号mよりも選択順が下位
である記号mを選択できる位置AIJK まで戻り、この位
置AIJK から最後の位置Annn までの配列要素EIJK
記号mの選択決定を、ラテン方体記憶用配列12の第一
のX軸Iと第一のY軸Jとそして第一のZ軸Kに沿った
位置AIJK を除く他の位置AIJK を対象として行う、こ
とを加えたものである。
According to a sixth aspect of the invention, in addition to the configuration of the fifth aspect of the invention, the last of the X axis I, the Y axis J and the Z axis K of the Latin cube storage array 12 in which the existing Latin cube is set. from position a nnn, X axis I, along the Y axis J and Z axes K, returns to the position a IJK selection order than symbol m of existing array element E IJK can select a symbol m is lower, this position a selection decision symbol m array element E IJK to the last position a nnn from IJK, Latin rectangular parallelepiped first X axis I and the first of the memory array 12 of the Y-axis J and then the first Z perform other positions a IJK except positions a IJK along the axis K as the target, it is obtained by adding the.

【0024】この請求項6記載の発明にあっては、既存
のラテン方体から、第一のX軸Iと第一のY軸Jとそし
て第一のZ軸Kに沿った位置AIJK の配列要素EIJK
同じ記号mとしたラテン方体Rのグループを作成するこ
とができる。
According to the sixth aspect of the present invention, the position A IJK along the first X-axis I, the first Y-axis J, and the first Z-axis K is selected from the existing Latin cube. A group of Latin cubes R having the same symbol m as the array element E IJK can be created.

【0025】請求項7記載の発明は、請求項6記載の発
明の構成に、ラテン方体記憶用配列12に設定される既
存のラテン方体を、標準形ラテン方体とした、ことを加
えたものである。
According to a seventh aspect of the invention, in addition to the structure of the sixth aspect, the existing Latin cube set in the Latin cube storage array 12 is a standard Latin cube. It is a thing.

【0026】この請求項7記載の発明にあっては、既存
のラテン方体から作成されるラテン方体Rのグループ
を、標準形ラテン方体に特定している。
According to the seventh aspect of the present invention, the group of Latin cubes R formed from the existing Latin cubes is specified as the standard Latin cube.

【0027】[0027]

【発明の実施の形態】以下、本発明の実施例を、図6な
いし図18を参照しながら説明する。なお、以下の説明
においては、説明の便宜上、次数nを4とし、記号mは
自然数(0,1,2,3)とし、その順列および選択順
は自然順列の通りとする。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to FIGS. In the following description, for convenience of explanation, the order n is 4, the symbol m is a natural number (0, 1, 2, 3), and the permutation and selection order are as per natural permutation.

【0028】図6は、本発明方法を実施するために構成
されたコンピュータの電気回路ブロック構成を示すもの
で、1は、次数n、記号m、記号mの順列と選択順、最
初に配列要素EIJK の値を選択決定する位置AIJK 、配
列要素EIJK を選択決定する順序、そして既存のラテン
方体のそれぞれを設定し、予め定められた制御プログラ
ムに従って制御信号を出力する制御部である。
FIG. 6 shows an electric circuit block configuration of a computer configured to carry out the method of the present invention, where 1 is an order n, a symbol m, a permutation of symbols m and a selection order, and first an array element. position a IJK selecting determine the value of E IJK, the order to select and determine the array element E IJK, and set each of the existing Latin body is the control unit for outputting a control signal according to a predetermined control program .

【0029】2は、制御部1からの制御信号に従って、
作成しようとするラテン方体Rに対応して位置AIJK
配列設定したラテン方体記憶用配列12を形成し、この
ラテン方体記憶用配列12の各位置AIJK における配列
要素EIJK としての記号mを比較により選択決定するラ
テン方体作成部である。
Reference numeral 2 denotes a control signal from the control unit 1,
A Latin cube storage array 12 in which the positions A IJK are arranged corresponding to the Latin cube R to be created is formed, and the array element E IJK at each position A IJK of the Latin cube storage array 12 is formed. This is a Latin cube creation unit that selects and determines the symbol m by comparison.

【0030】ラテン方体作成部2は、選択決定される信
号mである設定用データのX軸Iに沿った位置AIJK
を指定するX軸位置指定部3と、設定用データのY軸J
に沿った位置AIJKを指定するY軸位置指定部4と、
設定用データのZ軸Kに沿った位置AIJKを指定する
Z軸位置指定部と、設定用データと比較される信号m
である比較用データのX軸Iに沿った位置AIJKを指
定するX軸位置比較部6と、比較用データのY軸Jに沿
った位置AIJKを指定するY軸位置比較部7と、比較
用データのZ軸Kに沿った位置AIJKを指定するZ軸
位置比較部8と、設定用データの記憶と、入出力を行う
設定用データ記憶部9と、比較用データの記憶と、入出
力を行う比較用データ記憶部10と、設定用データと比
較用データとを比較演算するデータ比較部11と、要求
される大きさの次数nのラテン方体Rに対応して、配列
要素EIJKを位置させる位置AIJKを、3次元に配
列した位置設定で設定記憶するラテン方体記憶用配列1
2と、から構成されている。
The Latin cube creating section 2 determines the position A IJK of the setting data, which is the signal m to be selected and determined, along the X axis I.
X-axis position designation section 3 for designating the Y-axis J of the setting data
A Y-axis position designating section 4 for designating a position A IJK along
A Z-axis position specifying unit 5 that specifies a position AIJK of the setting data along the Z-axis K, and a signal m that is compared with the setting data.
An X-axis position comparison unit 6 that specifies the position A IJK along the X-axis I of the comparison data, and a Y-axis position comparison unit 7 that specifies the position A IJK along the Y-axis J of the comparison data, A Z-axis position comparison unit 8 for designating a position A IJK along the Z-axis K of the comparison data, a setting data storage unit, a setting data storage unit 9 for inputting / outputting, and a comparison data storage unit; An array element corresponding to a comparison data storage unit 10 for inputting / outputting, a data comparison unit 11 for performing a comparison operation of setting data and comparison data, and a Latin cube R of degree n of a required size. Position A for positioning E IJK A IJK is set and stored in a three-dimensionally arranged position setting Latin square storage array 1
2 and.

【0031】図17は、請求項1ないし4記載の発明の
実施例のフローチャートの一例を示すもので、ステップ
S1は、制御部1に対して、次数n、記号m、記号mの
順列と選択順{0,1,・・・n−1}を指定すると共
に、X軸位置指定部3を先頭1に、Y軸位置指定部4を
先頭1に、そしてZ軸位置指定部5を先頭1に設定す
る。
FIG. 17 shows an example of a flow chart of an embodiment of the invention described in claims 1 to 4, and in step S1, the control unit 1 is ordered with a degree n, a symbol m, and a symbol m. The order {0, 1, ... N-1} is specified, the X-axis position specifying unit 3 is at the beginning 1, the Y-axis position specifying unit 4 is at the beginning 1, and the Z-axis position specifying unit 5 is at the beginning 1. Set to.

【0032】ステップS2は、設定用データ記憶部9へ
ラテン方体Rの記号mの最初の値0を設定することによ
って、ラテン方体記憶用配列12の各位置AIJK の配列
要素EIJK の値を最初の値0に設定し、ステップS3
は、X軸位置指定部3の値が先頭1なら、同じX軸Iの
並びにはそれ以前の比較する配列要素EIJK が存在しな
いので、ステップS5へ行き、ステップS4は、配列要
素EIJK が、同じX軸Iに沿った並びの、それ以前の位
置AIJK の配列要素EIJK を示すように、Y軸位置比較
部7にY軸位置指定部4の値を設定してZ軸位置比較部
8にZ軸位置指定部5の値を設定し、X軸位置比較部6
の値を1からX軸位置指定部3の位置の示す1つ前の値
まで順に変化させて、その示す比較用データ記憶部10
の値と設定用データ記憶部9の値をデータ比較部11に
より比較し、一致するものがある場合に、ステップS1
6へ行く。
In step S2, the initial value 0 of the symbol m of the Latin box R is set in the setting data storage unit 9 to set the array element E IJK of each position A IJK of the Latin box storage array 12. Set the value to the first value 0, step S3
If the value of the X-axis position designation section 3 is the first 1, there is no array element E IJK of the same X-axis I to be compared, so the procedure proceeds to step S5, where the array element E IJK is , The Z-axis position comparison is performed by setting the value of the Y-axis position designation unit 4 in the Y-axis position comparison unit 7 so as to show the array element E IJK of the previous position A IJK arranged in the same X-axis I. The value of the Z-axis position designation section 5 is set in the section 8, and the X-axis position comparison section 6 is set.
Is sequentially changed from 1 to the previous value indicated by the position of the X-axis position specifying unit 3, and the comparison data storage unit 10 indicated by the value is changed.
Is compared with the value of the setting data storage unit 9 by the data comparison unit 11, and if there is a match, step S1
Go to 6.

【0033】ステップS5は、Y軸位置指定部4の値が
先頭1なら、同じY軸Jに沿った並びに、それ以前の比
較する配列要素EIJKが存在しないので、ステップS
7へ行き、ステップS6は、配列要素EIJKが、同じ
Y軸Jに沿った並びの、それ以前の位置AIJKの配列
要素EIJKを示すように、X軸位置比較部6にX軸位
置指定部3の値を設定してZ軸位置比較部8にZ軸位置
指定部5の値を設定し、Y軸位置比較部の値を1から
Y軸位置指定部4の位置の示す1つ前の値まで順に変化
させて、その示す比較用データ記憶部10の値と設定用
データ記憶部9の値をデータ比較部11により比較し、
一致するものがある場合には、ステップS16へ行く。
In step S5, if the value of the Y-axis position designation section 4 is 1 at the beginning, there is no array element E IJK to be compared along the same Y-axis J and before that.
Go to 7, step S6, the array element E IJK is the sequence along the same Y axis J, it as shown an array element E IJK previous position A IJK, X-axis position in the X-axis position comparison section 6 The value of the designation unit 3 is set, the value of the Z-axis position designation unit 5 is set in the Z-axis position comparison unit 8, and the value of the Y-axis position comparison unit 7 is set from 1 to 1 indicating the position of the Y-axis position designation unit 4. The value in the comparison data storage unit 10 and the value in the setting data storage unit 9 are compared by the data comparison unit 11,
If there is a match, go to step S16.

【0034】ステップS7は、Z軸位置指定部5の値が
先頭1なら、同じZ軸Kに沿った並びに、それ以前の比
較する配列要素EIJK が存在しないので、ステップS9
へ行き、ステップS8は、配列要素EIJK が、同じZ軸
Kに沿った並びの、それ以前の位置AIJK の配列要素E
IJK を示すように、X軸位置比較部6にX軸位置指定部
3の値を設定してY軸位置比較部7にY軸位置指定部4
の値を設定し、Z軸位置比較部8の値を1からZ軸位置
指定部5の位置の示す1つ前の値まで順に変化させて、
その示す比較用データ記憶部10の値と設定用データ記
憶部9の値をデータ比較部11により比較し、一致する
ものがある場合には、ステップS16へ行く。
In step S7, if the value of the Z-axis position designating section 5 is 1 at the beginning, there is no array element E IJK to be compared along the same Z-axis K and before that, so step S9.
Going to step S8, the array element E IJK is arranged at the previous position A IJK of the array element E IJK along the same Z axis K.
As indicated by IJK , the value of the X-axis position specifying unit 3 is set in the X-axis position comparing unit 6 and the Y-axis position specifying unit 4 is set in the Y-axis position comparing unit 7.
Value is set, and the value of the Z-axis position comparison unit 8 is sequentially changed from 1 to the previous value indicated by the position of the Z-axis position designation unit 5,
The data comparison unit 11 compares the value of the comparison data storage unit 10 and the value of the setting data storage unit 9 that are shown, and if there is a match, the process proceeds to step S16.

【0035】ステップS9は、Z軸位置指定部5の設定
値を一つ次の値に設定し、ステップS10は、設定した
Z軸位置指定部5の値は、最後の位置AIJn を越えたか
どうか、越えていない場合は、ステップS12へ行く。
A step S9 sets the setting value of the Z-axis position specifying unit 5 to the next value, and a step S10 determines whether the set value of the Z-axis position specifying unit 5 exceeds the final position A IJn . If not, go to step S12.

【0036】ステップS11は、Y軸位置指定部4の設
定値を一つ次の値に設定し、かつZ軸位置指定部5の設
定値を先頭1の値とし、ステップS12は、Y軸位置指
定部4の値が、最後の位置AInK を越えたかどうか、越
えない場合には、ステップS14へ行く。
A step S11 sets the setting value of the Y-axis position designating unit 4 to the next value and sets the setting value of the Z-axis position designating unit 5 to the value of the first 1, and a step S12 determines the Y-axis position. Whether or not the value of the designation section 4 exceeds the last position A InK, and if not, go to step S14.

【0037】ステップS13は、X軸位置指定部3の設
定値を一つ次の値に設定し、かつY軸位置指定部4の設
定値を先頭1の値とし、ステップS14は、X軸位置指
定部3の値が、最後の位置AnJK を越えたかどうか、越
えない場合は、ステップS2へ行くが、越えた場合には
ステップS15で、ラテン方体Rの作成を完了する。
A step S13 sets the setting value of the X-axis position specifying unit 3 to the next value and sets the setting value of the Y-axis position specifying unit 4 to the value of the first 1, and a step S14 determines the X-axis position. Whether or not the value of the designated portion 3 has exceeded the last position A nJK, and if not, go to step S2, but if it does, the creation of the Latin cube R is completed in step S15.

【0038】ステップS16は、位置AIJK の配列要素
IJK の値を次の値に設定し、ステップS17は、設定
した配列要素EIJK の値が最後の値(n−1)を越えて
いなければ、ステップS3へ行き、最後の値(n−1)
を越えたなら置くものがないのでステップS18に進
む。
The step S16 sets the value of the array element E IJK at the position A IJK to the next value, and the step S17 determines that the value of the set array element E IJK must exceed the last value (n-1). For example, go to step S3 and select the last value (n-1)
If it exceeds, there is nothing to put, so the operation proceeds to step S18.

【0039】ステップS18は、設定用データ記憶部9
にラテン方体Rの記号mの最初の値0を設定することに
より、位置AIJK の配列要素EIJK の値を最初の値0に
設定する。
In step S18, the setting data storage unit 9
By setting the first value 0 of the symbol m of the Latin cube R to, the value of the array element E IJK at the position A IJK is set to the first value 0.

【0040】ステップS19は、Z軸位置指定部5の設
定値を一つ前の値に設定し、ステップS20は、この設
定したZ軸位置指定部5の値が、先頭1より前でない場
合、ステップS16へ行く。
A step S19 sets the set value of the Z-axis position specifying unit 5 to the previous value, and a step S20 determines that the set value of the Z-axis position specifying unit 5 is not before the first 1. Go to step S16.

【0041】ステップS21は、Y軸位置指定部4の値
を一つ前の値に設定すると共に、Z軸位置指定部5の値
を最後の位置の値nに設定し、ステップS22は、Y軸
位置指定部4の値が先頭1より前でない場合、ステップ
S16へ行く。
A step S21 sets the value of the Y-axis position specifying unit 4 to the previous value and a value of the Z-axis position specifying unit 5 to the value n of the last position, and a step S22 returns Y. If the value of the axis position designation unit 4 is not before the first 1, go to step S16.

【0042】ステップS23は、X軸位置指定部3の値
を一つ前の値に設定すると共に、Y軸位置指定部4の値
を最後の位置の値nに設定して、ステップS16へ行
き、配列要素EIJK の値の選択決定操作を繰り返す。
A step S23 sets the value of the X-axis position designating section 3 to the previous value, sets the value of the Y-axis position designating section 4 to the value n of the last position, and proceeds to step S16. , The selection and determination operation of the value of the array element E IJK is repeated.

【0043】図18は、請求項5ないし7記載の発明の
実施例のフローチャートの一例を示すもので、ステップ
T1は、ラテン方体記憶用配列12に新しく作成を行お
うとするものと等しい次数nの同一の記号mの既存のラ
テン方体を記憶させることにより、制御部1に次数n、
記号m、記号mの順列と選択順{0,1,・・・n−
1}を指定すると共に、X軸位置指定部3を最後の位置
の値nに、Y軸位置指定部4を最後の位置の値nに、そ
してZ軸位置指定部5を最後の位置の値nに設定する。
FIG. 18 shows an example of a flow chart of an embodiment of the invention described in claims 5 to 7, and step T1 is of the same order n as that for newly creating an array 12 for storing the Latin box. By storing the existing Latin cube of the same symbol m of
Symbol m, permutation of symbol m and selection order {0, 1, ... N-
1}, the X-axis position designation unit 3 is set to the last position value n, the Y-axis position designation unit 4 is set to the last position value n, and the Z-axis position designation unit 5 is set to the last position value n. Set to n.

【0044】ステップT2は、ラテン方体記憶用配列1
2の位置AIJK の配列要素EIJK の値をラテン方体Rの
記号mの次の順序に設定し、ステップT3は、ラテン方
体記憶用配列12の位置AIJK の配列要素EIJK の値が
最後の値(n−1)を越えなければ、ステップT10へ
行き、最後の値(n−1)を越えたなら置くものがない
のでステップT4に進む。
Step T2 is an array 1 for storing a Latin box.
The value of the array element E IJK of the position A IJK of 2 is set to the next order of the symbol m of the Latin cube R, and the step T3 is the value of the array element E IJK of the position A IJK of the Latin cube storage array 12. Does not exceed the final value (n-1), the process proceeds to step T10. If the final value (n-1) is exceeded, there is nothing to put, so the process proceeds to step T4.

【0045】ステップT4は、設定用データ記憶部9に
値0を設定することで、ラテン方体記憶用配列12の位
置AIJK の配列要素EIJK の値を最初の値0に設定し、
ステップT5は、Z軸位置指定部5を一つ前の位置に設
定し、ステップT6は、Z軸位置指定部5が先頭1より
前でない場合にステップT2へ行く。
In step T4, the value 0 is set in the setting data storage unit 9 to set the value of the array element E IJK of the position A IJK of the Latin box storage array 12 to the initial value 0,
A step T5 sets the Z-axis position designating unit 5 to the previous position, and a step T6 goes to a step T2 when the Z-axis position designating unit 5 is not before the head 1.

【0046】ステップT7は、Y軸位置指定部4を一つ
前の位置に設定すると共に、Z軸位置指定部5の位置を
最後nにし、ステップT8は、Y軸位置指定部4が先頭
1より前でない場合にステップT2へ行く。
In step T7, the Y-axis position designating section 4 is set to the previous position and the position of the Z-axis position designating section 5 is set to the last n. In step T8, the Y-axis position designating section 4 is set to the first position. If not earlier, go to step T2.

【0047】ステップT9は、X軸位置指定部3を一つ
前の位置に設定すると共に、Y軸位置指定部4を最後n
の位置に設定し、ステップT2へ行く。
In step T9, the X-axis position designation section 3 is set to the previous position, and the Y-axis position designation section 4 is set to the last n.
Set to the position of and go to step T2.

【0048】ステップT10は、X軸位置指定部3の位
置が先頭1なら、X軸Iの同じ並びにはそれ以前の比較
する配列要素EIJK が存在しないので、ステップT12
へ行き、ステップT11は、配列要素EIJK の値に対
し、X軸Iの同じ並びの、それ以前の位置AIJK の配列
要素EIJK を示すように、Y軸位置比較部7にY軸位置
指定部4の値を設定してZ軸位置比較部8にZ軸位置指
定部5の値を指定し、X軸位置比較部6の値を1からX
軸位置指定部3の位置の示す1つ前の値まで順に変化さ
せて、その示す比較用データ記憶部10の値と設定用デ
ータ記憶部9の値をデータ比較部11により比較し、一
致するものがある場合には、ステップT2へ行く。
In step T10, if the position of the X-axis position designation section 3 is the first position, there is no array element E IJK to be compared in the same row on the X-axis I and before that, so step T12.
Go to step T11, compared value of the array element E IJK, the same sequence of X-axis I, to indicate it array element E IJK previous position A IJK, Y-axis position in the Y-axis position comparator 7 The value of the designating section 4 is set, the value of the Z-axis position designating section 5 is designated to the Z-axis position comparing section 8, and the value of the X-axis position comparing section 6 is changed from 1 to X.
The value of the comparison data storage unit 10 and the value of the setting data storage unit 9 are sequentially changed by the data comparison unit 11 by changing the values up to the previous value indicated by the position of the axis position designation unit 3, and they match. If there is one, go to step T2.

【0049】ステップT12は、Y軸位置指定部4の位
置が先頭1なら、Y軸Jの同じ並びに、それ以前の比較
する配列要素EIJK が存在しないので、ステップT14
へ行き、ステップT13は、配列要素EIJK の値に対
し、Y軸Jの同じ並びの、それ以前の位置AIJK の配列
要素EIJK を示すように、X軸位置比較部6にX軸位置
指定部3の値を設定してZ軸位置比較部8にZ軸位置指
定部5の値を設定し、Y軸位置比較部7の値を1からY
軸位置指定部4の位置の示す1つ前の値まで順に変化さ
せて、その示す比較用データ記憶部10の値と設定用デ
ータ記憶部9の値をデータ比較部11により比較し、一
致するものがある場合には、ステップT2へ行く。
In step T12, if the position of the Y-axis position designation section 4 is the head 1, there is no array element E IJK to be compared in the same Y-axis J and before that, so step T14.
In step T13, the value of the array element E IJK is set to the X-axis position comparison unit 6 so that the X-axis position comparison unit 6 indicates the array element E IJK of the previous position A IJK in the same array on the Y-axis J. The value of the designation unit 3 is set, the value of the Z-axis position designation unit 5 is set in the Z-axis position comparison unit 8, and the value of the Y-axis position comparison unit 7 is changed from 1 to Y.
The value of the comparison data storage unit 10 and the value of the setting data storage unit 9 that are shown are sequentially changed by the data comparison unit 11, and the values are matched. If there is one, go to step T2.

【0050】ステップT14は、Z軸位置指定部5の位
置が先頭1なら、Z軸Kの同じ並びに、それ以前の比較
する配列要素EIJK が存在しないので、ステップT16
へ行き、ステップT15は、配列要素EIJK の値に対
し、Z軸Kの同じ並びの、それ以前の位置AIJK の配列
要素EIJK を示すように、X軸位置比較部6にX軸位置
指定部3の値を設定してY軸位置比較部7にY軸位置指
定部4の値を設定し、Z軸位置比較部8の値を1からZ
軸位置指定部5の位置の示す1つ前の値まで順に変化さ
せて、その示す比較用データ記憶部10の値と設定用デ
ータ記憶部9の値をデータ比較部11により比較し、一
致するものがある場合には、ステップT2へ行く。
In step T14, if the position of the Z-axis position designation section 5 is the first position, there is no array element E IJK to be compared with the same Z-axis K and the array elements E IJK to be compared before that are set.
Go to step T15, compared value of the array element E IJK, the same sequence of Z-axis K, which as shown the array element E IJK previous position A IJK, X-axis position in the X-axis position comparison section 6 The value of the designation unit 3 is set, the value of the Y-axis position designation unit 4 is set in the Y-axis position comparison unit 7, and the value of the Z-axis position comparison unit 8 is changed from 1 to Z.
The value of the comparison data storage unit 10 and the value of the setting data storage unit 9 are sequentially changed by the data comparison unit 11 by changing the values up to the previous value indicated by the position of the axis position designation unit 5 in sequence, and they match. If there is one, go to step T2.

【0051】ステップT16は、Z軸位置指定部5の位
置を一つ次の位置に設定し、ステップT17は、Z軸位
置指定部5の位置は最後の位置AIJK を越えたかどう
か、越えていない場合はステップT19へ行く。
In step T16, the position of the Z-axis position designating section 5 is set to the next position, and in step T17, the position of the Z-axis position designating section 5 exceeds or exceeds the final position A IJK. If not, go to step T19.

【0052】ステップT18は、Y軸位置指定部4を一
つ次の位置に設定すると共に、Z軸位置指定部5を先頭
1の位置に設定し、ステップT19では、Y軸位置指定
部4は最後の位置AIJK を越えたかどうか、越えていな
い場合はステップT21へ行く。
In step T18, the Y-axis position designating section 4 is set to the next position, and the Z-axis position designating section 5 is set to the first position. In step T19, the Y-axis position designating section 4 is set. Whether or not the last position A IJK has been exceeded, and if not, go to step T21.

【0053】ステップT20は、X軸位置指定部3を一
つ次の位置に設定すると共に、Y軸位置指定部4を先頭
1の位置に設定し、ステップT21は、X軸位置指定部
3は最後の位置AIJK を越えたかどうか、越えていない
場合はステップT10へ行くが、最後の位置AIJK より
後の場合はステップT22に進んで作成を完了する。
In step T20, the X-axis position designating section 3 is set to the next position and the Y-axis position designating section 4 is set to the first position 1. In step T21, the X-axis position designating section 3 is set. Whether or not the last position A IJK has been exceeded , if not, the process proceeds to step T10, but if it is after the last position A IJK , the process proceeds to step T22 to complete the creation.

【0054】[0054]

【発明の効果】本発明は、上記した構成となっているの
で、以下に示す効果を奏する。請求項1記載の発明は、
所望する次数および記号のラテン方体を規則的に作成す
ることができ、これによりラテン方体を確実にかつ簡単
に得ることができる。
Since the present invention has the above-mentioned structure, it has the following effects. The invention according to claim 1 is
It is possible to regularly create a Latin cube of the desired degree and symbol, so that a Latin cube can be obtained reliably and easily.

【0055】請求項2記載の発明は、ラテン方体の規則
的な作成の確実性をさらに高めるこたができる。
The invention according to claim 2 can further enhance the certainty of regular production of the Latin cube.

【0056】請求項3記載の発明は、請求項1又は2記
載の発明におけるデジタル処理を、大幅に簡単化させ、
その演算処理の簡単化を充分に達成できる。
The invention according to claim 3 greatly simplifies the digital processing in the invention according to claim 1 or 2,
The simplification of the arithmetic processing can be sufficiently achieved.

【0057】請求項4記載の発明は、標準形ラテン方体
を簡単に作成できる。
According to the fourth aspect of the invention, a standard Latin cube can be easily prepared.

【0058】請求項5記載の発明は、既存のラテン方体
を元として、同じ次数および記号のラテン方体の全てを
規則的に作成することができ、これにより同じ次数およ
び記号の多数の異なるラテン方体を確実にかつ簡単に得
ことができ、もってラテン方体の利用範囲を広げ、か
つラテン方体の利用価値および利用効果を飛躍的に高め
ることができる。
According to the fifth aspect of the present invention, based on an existing Latin cube, all Latin cubes having the same degree and symbol can be regularly formed, whereby a large number of different degrees and symbols having the same degree can be obtained. It is possible to surely and easily obtain a Latin cube, expand the range of use of the Latin cube, and dramatically increase the utility value and utilization effect of the Latin cube.

【0059】請求項6記載の発明は、第一の行および第
一の列および第一の奥行きを同じにしたラテン方体のグ
ループの全てを確実にかつ簡単に得ることができ、これ
により利用目的に従った多数のラテン方体の作成を簡単
にかつ確実に達成でしる。
According to the sixth aspect of the present invention, it is possible to reliably and easily obtain all the groups of Latin cubes having the same first row and first column and the same first depth. You can easily and surely create a large number of Latin cubes according to your purpose.

【0060】請求項7記載の発明は、設定される次数お
よび記号の標準形ラテン方体の全てを得ることができ、
もって最も利用し易い多数の標準形ラテン方体を確実に
かつ簡単に得ることができる。
According to the invention described in claim 7, it is possible to obtain all the standard Latin cuboids of the orders and symbols to be set,
Therefore, it is possible to surely and easily obtain a large number of standard Latin cuboids that are most easily used.

【図面の簡単な説明】[Brief description of drawings]

【図1】1次のラテン方体の説明に供する図。FIG. 1 is a diagram for explaining a primary Latin cube.

【図2】1次のラテン方体の一例を示す説明図。FIG. 2 is an explanatory diagram showing an example of a primary Latin cube.

【図3】2次のラテン方体の説明に供する図。FIG. 3 is a diagram for explaining a second-order Latin cube.

【図4】2次のラテン方体の一例を示す説明図。FIG. 4 is an explanatory diagram showing an example of a secondary Latin cube.

【図5】3次のラテン方体の説明に供する標準形の例を
示す図。
FIG. 5 is a diagram showing an example of a standard form used for the description of a cubic Latin cube.

【図6】本発明を実施すべく構成した装置の電気回路構
成を示すブロック図。
FIG. 6 is a block diagram showing an electric circuit configuration of an apparatus configured to carry out the present invention.

【図7】図6に示したブロック図中のラテン方体記憶用
配列の構成を示す説明図。
7 is an explanatory diagram showing a configuration of a Latin rectangular storage array in the block diagram shown in FIG.

【図8】ラテン方体の配列要素の値としての記号を0〜
3とした配列例を示す説明図。
FIG. 8: Symbols as values of array elements of Latin cube are 0 to
Explanatory drawing which shows the example of arrangement set to 3.

【図9】ラテン方体の配列要素の値としての記号を1〜
4とした配列例を示す説明図。
FIG. 9: Symbols as values of array elements of Latin cube are 1 to
Explanatory drawing which shows the example of an arrangement set to 4.

【図10】ラテン方体の配列要素の値としての記号をa
〜dとした配列例を示す説明図。
FIG. 10 shows a symbol as a value of an array element of Latin cube
Explanatory drawing which shows the example of an array set as -d.

【図11】ラテン方体作成の際の、配列要素の値を決定
する位置の順を示す説明図。
FIG. 11 is an explanatory diagram showing the order of positions for determining the values of array elements when creating a Latin cube.

【図12】ラテン方体作成の際の、配列要素の値を決定
する位置の順を示す他の説明図。
FIG. 12 is another explanatory diagram showing the order of positions for determining the values of array elements when creating a Latin cube.

【図13】ラテン方体作成の際の、配列要素の値を決定
する位置の順を示すさらに他の説明図。
FIG. 13 is still another explanatory diagram showing the order of positions for determining the values of array elements when creating a Latin cube.

【図14】標準形のラテン方体作成の際の、配列要素の
値を決定する位置の順を示す説明図。
FIG. 14 is an explanatory diagram showing the order of positions for determining the values of array elements when creating a standard Latin box.

【図15】標準形のラテン方体作成の際の、配列要素の
値を決定する位置の順を示す他の説明図。
FIG. 15 is another explanatory diagram showing the order of positions for determining the values of array elements when creating a standard Latin box.

【図16】標準形のラテン方体作成の際の、配列要素の
値を決定する位置の順を示すさらに他の説明図。
FIG. 16 is still another explanatory diagram showing the order of positions for determining the values of array elements when creating a standard Latin box.

【図17】ラテン方体を作成する操作手順を示す、フロ
ーチャート図。
FIG. 17 is a flowchart showing an operation procedure for creating a Latin box.

【図18】既存のラテン方体から別のラテン方体を作成
する操作手順を示す、フローチャート図。
FIG. 18 is a flowchart showing an operation procedure for creating another Latin cube from an existing Latin cube.

【符号の説明】[Explanation of symbols]

1 ; 制御部 2 ; ラテン方体作成部 3 ; X軸位置指定部 4 ; Y軸位置指定部 5 ; Z軸位置指定部 6 ; X軸位置比較部 7 ; Y軸位置比較部 8 ; Z軸位置比較部 9 ; 設定用データ記憶部 10 ; 比較用データ記憶部 11 ; データ比較部 12 ; ラテン方体記憶用配列 R ; ラテン方体 I ; X軸 J ; Y軸 K ; Z軸 AIJK ; 位置 EIJK ; 配列要素 n ; 次数 m ; 記号1; control unit 2; Latin cube creation unit 3; X-axis position designation unit 4; Y-axis position designation unit 5; Z-axis position designation unit 6; X-axis position comparison unit 7; Y-axis position comparison unit 8; Z-axis Position comparison unit 9; Setting data storage unit 10; Comparison data storage unit 11; Data comparison unit 12; Latin cube storage array R; Latin cube I; X axis J; Y axis K; Z axis A IJK ; Position E IJK ; Array element n; Order m; Symbol

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平10−105544(JP,A) 特開 平10−10971(JP,A) 山本幸一,“ラテン方陣の種々相”, 数理科学,日本,株式会社サイエンス 社,1979年6月1日,Vo.17,No. 6,p.62−66 (58)調査した分野(Int.Cl.7,DB名) G09C 1/00 G06F 17/10 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP 10-105544 (JP, A) JP 10-10971 (JP, A) Koichi Yamamoto, “Various Phases of Latin Squares”, Mathematical Sciences, Japan, Stocks Company Science, June 1, 1979, Vo. 17, No. 6, p. 62-66 (58) Fields surveyed (Int.Cl. 7 , DB name) G09C 1/00 G06F 17/10

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ラテン方陣を3次元(縦方向をX軸、横
方向をY軸、奥行き方向をZ軸とする)に配置した作成
しようとするラテン方体(R) の次数(n) を設定すると共
に、該次数(n) 分の記号(m) を順列および該順列に従っ
た選択順を定めて設定する制御部(1) と、該制御部(1)
に設定した次数(n) に対応してラテン方体記憶用配列(1
2)の各位置(AIJK ) を設定するラテン方体作成部(2)
と、を有し、該ラテン方体作成部(2) が、前記制御部
(1) に予め定めた制御プログラムに従って、前記ラテン
方体記憶用配列(12)の各位置(AIJK ) に前記記号(m) の
一つを配列要素(EIJK ) として選択する際に、該選択決
定を、前記X軸(I) あるいはY軸(J) あるいはZ軸(K)
に沿って、該X軸(I) およびY軸(J) およびZ軸(K)の
最後の位置(AIJK ) まで順に行うと共に、前記各位置(A
IJK ) 毎に、同一X軸(I) およびY軸(J) およびZ軸
(K) の前の位置(AIJK ) の既に決定されている配列要素
(EIJK ) と同一記号(m) とならないように、前記記号
(m) を選択順に選択するラテン方体の作成方法。
1. The order (n) of a Latin cube (R) to be created by arranging Latin squares in three dimensions (the vertical direction is the X axis, the horizontal direction is the Y axis, and the depth direction is the Z axis). A controller (1) for setting and setting a symbol (m) for the degree (n) in a permutation and a selection order according to the permutation, and the controller (1)
Corresponding to the order (n) set in
Latin box creation unit (2) to set each position (A IJK ) of 2)
And the Latin box producing unit (2),
According to a predetermined control program in (1), when selecting one of the symbols (m) as an array element (E IJK ) at each position (A IJK ) of the Latin rectangular storage array (12), The selection decision is made based on the X-axis (I) or Y-axis (J) or Z-axis (K).
Along the X-axis (I), Y-axis (J) and Z-axis (K) to the last position (A IJK ) in order,
The same X axis (I) and Y axis (J) and Z axis for each IJK )
The previously determined array element at position (A IJK ) before (K)
(E IJK ) so that it is not the same symbol (m)
How to create a Latin cube that selects (m) in the order of selection.
【請求項2】 各位置(AIJK ) 毎に、同一X軸(I) およ
びY軸(J) およびZ軸(K) の前の位置(AIJK ) の既に決
定している配列要素(EIJK ) と同一記号(m)とならない
ように、順に記号(m) を選択する際に、任意の位置(A
IJK ) で選択決定することのできる記号(m) が無い場合
には、任意の位置(AIJK ) の一つ前の位置(AIJK ) の既
に決定されている配列要素(EIJK ) の記号(m) を、該記
号(m) よりも順位が下位である選択できる記号(m) に換
えて選択決定を継続する請求項1記載のラテン方体の作
成方法。
2. For each position (A IJK ), the already determined array element (E I) of the position (A IJK ) before the same X-axis (I) and Y-axis (J) and Z-axis (K) is determined. IJK ), when selecting the symbols (m) in order, so that they do not have the same symbol (m) as the desired position (A
When the symbol (m) is not capable of selecting and determining at IJK) are already signs of array elements are determined (E IJK) of the previous location of an arbitrary position (A IJK) (A IJK) The method for producing a Latin cube according to claim 1, wherein (m) is replaced with a selectable symbol (m) having a lower rank than the symbol (m) and the selection decision is continued.
【請求項3】 記号(m) の選択順を、該記号(m) の順列
の順に設定した請求項1または2記載のラテン方体の作
成方法。
3. The method for producing a Latin cube according to claim 1, wherein the selection order of the symbols (m) is set in the order of the permutations of the symbols (m).
【請求項4】 第一のX軸(I) と第一のY軸(J) と第一
のZ軸(K) の位置(AIJK ) の配列要素(EIJK ) の記号
(m) を予め標準形ラテン方体と同じに定め、残りの位置
(AIJK ) の配列要素(EIJK ) の記号(m) の選択決定を、
位置(A122)もしくは位置(A212)もしくは位置(A221)から
順に行う請求項1または2または3記載のラテン方体の
作成方法。
4. A symbol of an array element (E IJK ) at a position (A IJK ) on a first X axis (I), a first Y axis (J) and a first Z axis (K).
(m) is set in advance to be the same as the standard Latin cube, and the remaining position
The selection decision of the symbol (m) of the array element (E IJK ) of (A IJK ),
The method for producing a Latin cube according to claim 1, 2 or 3, which is carried out in order from the position (A 122 ) or the position (A 212 ) or the position (A 221 ).
【請求項5】 ラテン方陣を3次元(縦方向をX軸、横
方向をY軸、奥行き方向をZ軸とする)に配置した作成
しようとするラテン方体(R) の次数(n) を設定すると共
に、該次数(n) 分の記号(m) を順列および該順列に従っ
た選択順を定めて設定する制御部(1) と、該制御部(1)
に設定した次数(n) に対応してラテン方体記憶用配列(1
2)の各位置(AIJK ) を設定するラテン方体作成部(2)
と、を有し、前記制御部(1) に対する次数(n) の設定
と、前記記号(m) の順列および該順列に従った選択順の
設定を、前記ラテン方体記憶用配列(12)に対する既存の
ラテン方体の設定により達成し、前記制御部(1) に予め
記憶させた制御プログラムに従って、前記ラテン方体記
憶用配列(12)のX軸(I) およびY軸(J) およびZ軸(K)
の最後の位置(Annn ) から、前記X軸(I) およびY軸
(J) およびZ軸(K) に沿って、既存の配列要素(EIJK )
の記号(m) よりも選択順が下位である記号(m)を選択で
きる位置(AIJK ) まで順に戻り、該位置(AIJK ) から前
記X軸(I) あるいはY軸(J) あるいはZ軸(K) に沿って
前記最後の位置(Annn ) まで、各位置(AIJK ) 毎に同一
X軸(I) およびY軸 (J) およびZ軸(K) の前の位置(A
IJK )の既に決定されている配列要素(EIJK ) と同一記
号(m) とならないように、順に配列要素(EIJK ) の記号
(m) を選択決定するラテン方体の作成方法。
5. The order (n) of a Latin cube (R) to be created by arranging the Latin squares in three dimensions (the vertical direction is the X axis, the horizontal direction is the Y axis, and the depth direction is the Z axis). A controller (1) for setting and setting a symbol (m) for the degree (n) in a permutation and a selection order according to the permutation, and the controller (1)
Corresponding to the order (n) set in
Latin box creation unit (2) to set each position (A IJK ) of 2)
And, setting the order (n) for the control unit (1), the permutation of the symbol (m) and the setting of the selection order according to the permutation, the Latin rectangular storage array (12) According to a control program that has been achieved by setting the existing Latin cube for the above, and is stored in advance in the control unit (1), the X-axis (I) and the Y-axis (J) of the Latin cube storage array (12) and Z axis (K)
From the last position (A nnn ) of the X-axis (I) and Y-axis
Existing array elements (E IJK ) along the (J) and Z-axis (K)
Returning to the order to the position where the selection order to select a symbol (m) is lower than the symbol (m) in (A IJK), wherein from the position (A IJK) X-axis (I) or a Y-axis (J) or Z Along the axis (K) up to the last position (A nnn ), the same for each position (A IJK ), the position before the X axis (I) and the Y axis (J) and the Z axis (K) (A
As already an array element being determined (E IJK) does not equal symbol (m) of IJK), symbol order array element (E IJK)
How to create a Latin cube that selects and determines (m).
【請求項6】 既存のラテン方体を設定したラテン方体
記憶用配列(12)のX軸(I) およびY軸(J) およびZ軸
(K) の最後の位置(Annn ) から、前記X軸(I)およびY
軸(J) およびZ軸(K) に沿って、既存の配列要素
(EIJK ) の記号(m) よりも選択順が下位である記号(m)
を選択できる位置(AIJK ) まで戻り、該位置(AIJK ) か
ら最後の位置(Annn ) までの配列要素(EIJK ) の記号
(m) の選択決定を、前記ラテン方体記憶用配列(12)の第
一のX軸(I) と第一のY軸(J) と第一のZ軸(K) の位置
(AIJK ) を除く他の位置(AIJK ) を対象として行う請求
項5記載のラテン方体の作成方法。
6. An X-axis (I), a Y-axis (J) and a Z-axis of a Latin cube storage array (12) in which an existing Latin cube is set.
From the last position (A nnn ) of (K), the X-axis (I) and Y
Existing array elements along the axis (J) and Z axis (K)
A symbol (m) whose selection order is lower than the symbol (m) of (E IJK ).
Return to the position (A IJK ) where you can select, and the symbol of the array element (E IJK ) from that position (A IJK ) to the last position (A nnn ).
(m) is selected and determined by determining the positions of the first X axis (I), the first Y axis (J) and the first Z axis (K) of the Latin rectangular storage array (12).
(A IJK) other positions except for (A IJK) how to create Latin of claim 5, wherein performing the subject.
【請求項7】 ラテン方体記憶用配列(12)に設定する既
存のラテン方体を、標準形ラテン方体とした請求項6記
載のラテン方体の作成方法。
7. The method for producing a Latin cube according to claim 6, wherein the existing Latin cube set in the Latin cube storage array (12) is a standard Latin cube.
JP09078099A 1999-03-31 1999-03-31 How to create a Latin rectangle Expired - Fee Related JP3394467B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09078099A JP3394467B2 (en) 1999-03-31 1999-03-31 How to create a Latin rectangle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09078099A JP3394467B2 (en) 1999-03-31 1999-03-31 How to create a Latin rectangle

Publications (2)

Publication Number Publication Date
JP2000285101A JP2000285101A (en) 2000-10-13
JP3394467B2 true JP3394467B2 (en) 2003-04-07

Family

ID=14008128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09078099A Expired - Fee Related JP3394467B2 (en) 1999-03-31 1999-03-31 How to create a Latin rectangle

Country Status (1)

Country Link
JP (1) JP3394467B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272104A (en) * 2003-03-11 2004-09-30 Netcomsec Co Ltd Method, device and program for generating table, and storage medium for the program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山本幸一,"ラテン方陣の種々相",数理科学,日本,株式会社サイエンス社,1979年6月1日,Vo.17,No.6,p.62−66

Also Published As

Publication number Publication date
JP2000285101A (en) 2000-10-13

Similar Documents

Publication Publication Date Title
US9983760B2 (en) Apparatus, method and computer readable recording medium for arranging a plurality of items automatically in a canvas
TWI678617B (en) "system, computer-implemented method, and apparatus for accessing data in multi-dimensional tensors using adders"
JPH0362266A (en) Computer-alded drawing making method
WO2008042309A1 (en) Graphic assembly layout with maximum page coverage
JP3599386B2 (en) Edge mixing method
JP3394467B2 (en) How to create a Latin rectangle
US10916067B1 (en) Intelligent alignment of graphical elements
US9639992B2 (en) Methods and systems for multilevel editing of subdivided polygonal data
US7228311B2 (en) Creation method of table, creation apparatus, creation program and program storage medium
JPH10105544A (en) Method for preparing latin square
CN106372340B (en) Secondary processing method for flutter calculation data of Nastran software
JP2003122250A (en) Method and device for preparing latin square
JP2003114619A (en) Method and device for generating latin parallelepiped
CN104240302A (en) Method and device for displaying picture
JPH02264367A (en) Component number preparing method in assembly drawing
JPS63155260A (en) Editing method for table by computer
JP3573671B2 (en) Euler square creation device
CN107133466B (en) Computer numerical simulation method for material crystallization process
CN111899335B (en) Image generation method based on DEM
CN114153445B (en) Method for rapidly generating connection relation through batch selection of components
CN111652970B (en) Three-dimensional CAD model generation method, device, computer equipment and storage medium
JP2003091239A (en) Method and device for generating latin cube
JP2001195388A (en) Method and device for producing latin square
CN117315193A (en) Rectangular outer contour honeycomb modeling method and device, equipment and storage medium
CN106649245A (en) Page layout method and apparatus

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3394467

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120131

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130131

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130131

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees