cogsys-tuebingen / cslibs_indexed_storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS - Library: Indexed Storage

This library provides fast, low overhead datastructure implementations for indexed objects.

Also included are configurable operations like:

  • Clustering

Usage & Structure

See examples and tests directories for some examples.

The only public access API is provided by the Storage type, which can be configured to allow abritrary data/index and storage implementations.

Storage<Data, Index, Backend [, Options]>

Data requirements

  • There must be data_interface support, see here.
  • There should be an merge function:
    • Either free function: ::cslibs_clustering::merge(Data& self, const Data& other)
    • or member function: void Data::merge(const Data& other)
    • Additionally rvalue or variadic implementation may be provided

Index requirements

  • There must be index_interface support, see here.

Operations

Operations are high order function on the dataset. They SHOULD NOT rely on the used backend and the access should mananged through the Storage API.

Clustering

For an example see: here

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 95.8%Language:CMake 4.2%