RMScopies: Strength 3 CAs from the Raaphorst-Moura-Stevens construction,...

View source: R/RMScopies.R

RMScopiesR Documentation

Strength 3 CAs from the Raaphorst-Moura-Stevens construction, extended by shifted column copies

Description

The Raaphorst-Moura-Stevens (2014) construction yields a CA(2q^3-1; 3, q^2+q+1, q) for prime powers q. Function RMScopies extends it by m additional columns, each of which is a shifted copy of an existing column, plus a few layers of additional runs.

Usage

RMScopiesCA(k, v, ...)

RMScopies(q, m=0, tested_only=TRUE)

N_RMScopiesCA(t=3, k, v, tested_only=TRUE, ...)

k_RMScopiesCA(t=3, N, v, tested_only=TRUE, ...)

Arguments

q

integer: a prime or prime power

m

integer: the number of added columns (shifted copies), 0 <= m <= q^2+q+1 (m=0 for q=2)

tested_only

logical: if TRUE (default), only constructions with m=0 and the combinations (q, m) listed in rmsCOPIEScat are allowed. RMScopies(q, m, tested_only=FALSE) also builds other combinations for exploration (e.g. as examples or counterexamples for the proof); such arrays should be checked (or at least screened) with caverify::ca_verify.

k

integer: the target number of columns

v

integer: the number of levels (must be a prime or prime power)

t

integer: the target strength (always 3)

N

integer: the available number of runs

...

currently not used

Details

For m=0, the construction was proven by Raaphorst, Moura and Stevens (2014). The extension for m>0 was developed and implemented in 2026 by Mickael Bergeron with Claude. As the mathematical proof of validity for all pairs (q, m) with m>0 has not yet been checked independently by a human, the verified parameter sets stored in rmsCOPIEScat are the basis of function RMScopiesCA, while function RMScopies can also apply the construction for non-verified pairs on request. Mathematical detail can be found in the documentation for rmsCOPIEScat.

Value

N (run size) and verifier.
Function RMScopiesCA returns a matrix of class ca with attributes, which is a strength 3 covering array.
Function RMScopies returns a matrix without class and attributes,
function N_RMScopiesCA returns the run size of the CA (NA if the construction is not applicable), function k_RMScopiesCA returns the largest number of columns achievable with at most N runs (NA if none).

References

Raaphorst, Moura and Stevens (2014)

Examples

D <- RMScopies(5)        ## the RMS array CA(249; 3, 31, 5)
dim(D)
eCAN(3,31,5) ## best according to the Colbourn tables
E <- RMScopiesCA(32, 5)  ## CA(324; 3, 32, 5)
dim(E)
eCAN(3,32,5) ## E is 25 runs smaller
N_RMScopiesCA(3, 36, 5)  ## 325
N_RMScopiesCA(3, 37, 5)  ## 350
k_RMScopiesCA(3, 325, 5)  ## 36
head(rmsCOPIEScat)
## an untested combination is refused unless explicitly requested
try(RMScopies(11, 50))
dim(RMScopies(11, 50, tested_only=FALSE))
F <- RMScopiesCA(22, 4)  ## prime power: CA(159; 3, 22, 4)
dim(F)
Ns(3,22,4) ## not best but among the smaller ones


CAs documentation built on Nov. 29, 2026, 1:06 a.m.