Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LookUpTableFunctions #1155

Merged
merged 4 commits into from
May 4, 2016

Commits on Apr 19, 2016

  1. Add NeighborhoodConfigurations (look up tables).

    New functions to deal with pre-computed look up tables.
    Motivation is to speed up large computation that use predicate
    functions depending on voxel neighborhood, such as isSimple.
    
    Add new folder /topology/tables containing:
     - NeighborhoodConfigurations.h loading table and map.
     - NeighborhoodConfigurationsHelpers.h helpers for Object
     and CubicalComplex.
     - compressed .tar.gz tables for simplicity.
    
    Modify example generateSimplicityTables3D, and 2D:
     - using functions from new header.
     - create tables for different topologies.
     - user can choose 26_6,6_26, 18_6 and 6_18 topologies in 3D and
     8_4,4_8 in 2D.
     - Generated tables are then compressed using:
    `cmake -E tar cvzf table26_6.tar.gz simple_table26_6.txt`
    
    Add CMake rules:
     - NeighborhoodTablesConfig.cmake dealing with decompress,
    copy and install tables. Linked in root CMakeLists.txt
     - NeighborhoodTablesConfig.h.in . CONFIGURE_FILE with strings pointing
     to all available tables. The generated NeighborhoodTablesConfig.h
     change location of tables depending on Build or Install.
    phcerdan committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    f2f500d View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2016

  1. Rename and reorganization changes.

     * Add typedef NeighborhoodConfiguration = uint_32 in
    topology/helpers/NeighborhoodConfigurationHelper.h.
     * Remove NeighborhoodConfigurationHelpers.h.
       * Move generateTable to
    topology/tables/NeighborhoodConfigurationGenerators.
       * Rename and move getOccupancyXXX functions, to Object class function and
    CubicalComplexFunctions respectively.
     * Fix indendation in testObject.
     * Rename and add documentation to helper function mapping zero
    neighborhood points to configuration bit masks.
    phcerdan committed Apr 28, 2016
    Configuration menu
    Copy the full SHA
    9d928a5 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2016

  1. Fix shadow error

    phcerdan committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    3aa874a View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Configuration menu
    Copy the full SHA
    acb7484 View commit details
    Browse the repository at this point in the history