/*
 * FMIndexFactors.cpp
 *
 *  Created on: 27. 02. 2021
 *      Author: Martin Prokopic
 */

#include <registration/AlgoRegistration.hpp>
#include "FMIndexFactors.h"

namespace {

auto SimpleFMIndexCount = registration::AbstractRegister < stringology::query::FMIndexFactors,
        ext::set < unsigned >,
        const indexes::stringology::SimpleFMIndex < > &,
        const string::LinearString < > & > ( stringology::query::FMIndexFactors::match ).setDocumentation (
        "Use Simple FM Index to find occurrences of pattern in BWT-encoded subject.\n"
        "\n"
        "@tparam SymbolType\n"
        "@param fmIndex the input FM Index\n"
        "@param pattern the pattern to search for\n"
        "@return indices of occurrences of pattern in the original (decoded) text, starting at 0" );

} /* namespace */
