Skip to content

Developement repository for ViennaHRLE, a high performance hierarchical run-length encoded data structure.

License

Notifications You must be signed in to change notification settings

ViennaTools/ViennaHRLE

Repository files navigation

ViennaHRLE

ViennaHRLE is a header-only C++ library for storing sparse spatial data efficiently. In the worst case, traversing the whole data structure is achieved in O(N), where N is the number of data points stored in the structure. Random access is achieved in O(log(N)).

Support

For help with getting started, have a look at the examples.

Bug reports and suggestions should be filed on GitHub.

Releases

Releases are tagged on the maser branch and available in the releases section.

Building

System Requirements

  • C++11 Compiler with OpenMP support

Installing

Since this is a header only project, it does not require any installation. However, we recommend the following procedure:

git clone https://github.com/ViennaTools/ViennaHRLE.git
cd ViennaHRLE

cmake -B build -DCMAKE_INSTALL_PREFIX=/path/to/your/custom/install/
cmake --build build

This will install the necessary headers and CMake files to the specified path. If -DCMAKE_INSTALL_PREFIX is not specified, it will be installed to the standard path for your system, usually /usr/local.

Building examples

The examples can be built using CMake:

cmake -B build -DVIENNAHRLE_BUILD_EXAMPLES=ON
cmake --build build

Integration in CMake projects

We recommend using CPM.cmake to consume this library.

  • Installation with CPM

    CPMAddPackage("gh:viennatools/[email protected]")
  • With a local installation

    In case you have ViennaHRLE installed in a custom directory, make sure to properly specify the CMAKE_MODULE_PATH

    find_package(ViennaHRLE REQUIRED)
    target_link_libraries(${PROJECT_NAME} ViennaTools::ViennaHRLE)

Authors

Contact us via: [email protected]

ViennaHRLE was developed under the aegis of the 'Institute for Microelectronics' at the 'TU Wien'. http://www.iue.tuwien.ac.at/

License

See file LICENSE in the base directory.

About

Developement repository for ViennaHRLE, a high performance hierarchical run-length encoded data structure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6