Skip to content

aaamini/nblat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neighbourhood lattice decomposition for general CI structures

Computes neighbourhood lattice decompositions. See the following paper for details:

Install

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)

Running the tests

Open the project file nblat.Rproj for the R package in Rstudio. Then run

 devtools::test()

About

Computes nbhd lattice decompositions

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages