| fuseBoseCA | R Documentation |
A strength 2 CA in q+1 (q-1)-level columns and q^2-3 runs is created from a q-level Bose array arranged as SCA
fuseBoseCA(k=NULL, v=NULL, fixNA=TRUE, ...)
fuseBose(q, fixNA=TRUE, ...)
fuseBushtCA(t, k, v, fixNA=TRUE, ...)
N_fuseBose(k=NULL, v=NULL, ...)
k_fuseBose(N, v=NULL, ...)
N_fuseBusht(t, k, v, ...)
k_fuseBusht(t, N, v, ...)
k |
|
v |
|
fixNA |
logical; if FALSE, keeps flexible values; if TRUE, the first |
... |
currently not used |
q |
a prime power |
t |
the requested strength |
N |
maximum acceptable number of runs |
Colbourn (2008) proposed the particular variant of fusion for a Bose CA, which allows to reduce the number of runs by 3 for strength 2 and at most q+1 columns. It creates a CA(q^2-3, 2, q+1, q-1) from an OA(q^2, 2, q+1, q). The reduction in rows is achieved by using a graph coloring approach (Lemma 3.2 of Colbourn 2008).
The fusion of Bush strength t CAs is included for cases
for which no other better CA is implemented. It creates a
CA(q^t-2*c, t, q+1, q-c) (with c the distance of v to the next largest prime power q)
fuseBose returns a (q^2-3 x q+1 matrix with columns in q-1 levels labeled from 0 to q-2 that is a covering array of strength 2.
fuseBoseCA returns a matrix of class ca from inputs k and v.
fuseBushtCA returns a matrix of class ca which is obtained from the smallest possible strength t Bush construction SCA
created with SCA_Busht by the necessary number of fuse steps.
N_fuseBose and k_fuseBose, N_fuseBusht and k_fuseBusht
return a named vector with elements N, k, v and q.
Colbourn (2008, Lemma 3.2) for fuseBose
# create a CA(22,2,6,4)
fuseBose(5) ## two constant rows
fuseBose(5, fixNA=FALSE) ## two flexible values
head(fuseBoseCA(6, 4)) ## two constant rows
attributes(fuseBoseCA(6, 4, fixNA=FALSE)) ## flexible values
# create a CA(46,2,8,6)
dim(D <- fuseBose(7))
coverage(D, 2)
eCAN(2,8,6) ## four runs difference
# create a CA(61,2,9,7)
dim(fuseBose(8))
eCAN(2, 9, 7) ## two runs difference
# create a CA(166,2,14,12)
dim(fuseBose(13))
eCAN(2, 14, 12) ## one run difference
# create a CA(508,3,9,6)
dim(fuseBushtCA(3, 9, 6))
eCAN(2, 14, 12) ## one run difference
# querying N
N_fuseBose(k=21)
eCAN(2, 24, 22) ## one run difference
eCAK(2, 526, 22) ## as good as it gets
N_fuseBose(v=6)
## run size from fuseBusht for t=3,k=9,v=7
N_fuseBusht(3,9,7)
## fuseBusht is very close to eCAN
## postopNCK removes a few rows
## (not in its implementation in this package)
Ns(3, 18, 15)
## fuseBusht is the best implemented solution
Ns(3,14,12)
## it is behind the eCAN entry
eCAN(3, 14, 12)
## apparently, postopNCK can remove 25 runs
## with the implementation in the package the effort
## for this appears somewhat unreasonable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.