Computes neighbourhood lattice decompositions. See the following paper for details:
Use the following command in R to install the package
devtools::install_github("aaamini/nblat/nblat_package")
Then run the examples Example7.R
and Example9.R
.
The output of the for loop from Example7.R
should be something like this:
{2,6,12} -- {1,2,4,5,6,7,8,9,10,11,12,13,14,15}(2048 sets)
{2,6,12} -- {1,2,4,5,6,7,8,9,10,11,12,13,14,15}(2048 sets)
{6,12} -- {4,5,6,7,10,11,12,14,15}(128 sets)
{} -- {7,10} (4 sets)
{9,12,14} -- {4,5,7,8,9,10,11,12,13,14,15}(256 sets)
Open the project file nblat.Rproj
for the R package in Rstudio. Then run
devtools::test()