raw_kbdm: Kolmogorov complexity of a matrix

Description Usage Arguments Details Value See Also Examples

View source: R/task_kbdm.R

Description

Compute the Kolmogorov complexity of a matrix using the Block Decomposition Method (requires the acss package).

Usage

1
raw_kbdm(mat, subsize)

Arguments

mat

A logical matrix (with TRUE/FALSE values)

subsize

A submatrix size to carry out the Block Decomposition Method (must be between 1 and 3)

Details

The Kolmogorov complexity cannot be computed directly for large strings (i.e. matrices). However, the complexity of smaller submatrices can be estimated, then combined to obtain an approximation of the complexity of the whole matrix. This method, the Block Decomposition Method is implemented in this function. See also kbdm_sews for more details.

Value

A numeric value

See Also

kbdm_sews, acss

Examples

1
2
3
4
## Not run:  
raw_kbdm(forestgap[[1]], subsize = 3)

## End(Not run)

spatialwarnings documentation built on July 2, 2020, 3:26 a.m.