CK_constrD: Function to augment a design with Chateauneuf-Kreher...

View source: R/CK_constrD.R

CK_constrDR Documentation

Function to augment a design with Chateauneuf-Kreher construction D

Description

A strength 3 CA in k (v-1)-level columns and N runs is extended to k v-level columns in N + kM + k(v-1) runs using a strength 2 CA in M runs for k-1 (v-1)-level columns (construction D)

Usage

CK_constrDCA(k, v, ...)

CK_constrD(D3, D2=NULL, check=FALSE, start0=TRUE, ...)

N_CK_constrDCA(t=3, k, v, ...)

Arguments

D3

a strength 3 CA with k columns in v-1 levels, coded as integers 0, ..., v-2 or 1,...,v-1

D2

a strength 2 CA with k-1 columns in v-1 levels, coded as integers 0, ..., v-2 or 1,...,v-1, same coding as D3;
NULL implies automatic creation with function bestCA, which uses the known optimal function KSK for v=2, and the best implemented construction for larger v.

check

a logical: if TRUE, the strength requirements are verified (may take very long for large arrays, therefore defaults to FALSE)

start0

logical: Do integer values start with 0 ? (D3 and D2 must be compatible)

...

further arguments to function coverage (CK_constrD) or bestN (function N_CK_constrDCA)

k

integer: the target number of columns

v

integer: the number of levels

t

integer: the target strength (always 3)

Details

CK_constrDCA is the interface function that uses the workhorse function CK_constrD.

Value

Function CK_constrDCA returns a matrix of class ca with attributes, which is a strength 3 covering array.
Function CK_constrD returns a matrix without class and attributes,
function N_CK_constrDCA returns the run size of the CA.

Note that the run size may depend on the availability of an internet connection for cases for which the best strength 3 CA for k columns or the best strength 2 CA for k-1 columns is in the Dwyer data base or the NIST library only (these might exist - has not been checked).

References

Chateauneuf and Kreher (2002)

Examples

N_CK_constrDCA(3,6,6)
bestN(3,6,6) ## not competitive
dim(CK_constrD(SCA_Busht(5,3)))
dim(CK_constrDCA(6,6)) ## always strength 3


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