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

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

namespace {

auto SimpleFMIndexCount = registration::AbstractRegister < stringology::query::FMIndexCount,
        unsigned,
        const indexes::stringology::SimpleFMIndex < > &,
        const string::LinearString < > & > ( stringology::query::FMIndexCount::count ).setDocumentation(
                "Count the number of occurrences of pattern in the input string using Simple FM Index.\n"
                "\n"
                "@tparam SymbolType\n"
                "@param fmIndex the input Simple FM Index used for querying\n"
                "@param pattern the pattern to search for\n"
                "@return number of occurrences of pattern in the original (decoded) string" );

} /* namespace */
