Interface DBIDRange

    • Method Detail

      • getOffset

        int getOffset​(DBIDRef dbid)
        Get offset in the array for a particular DBID.

        Should satisfy range.get(getOffset(id)) == id and range.getOffset(range.get(idx)) == idx.

        Parameters:
        dbid - ID to compute index for
        Returns:
        index