/*
 * EndToBeginIndex.cpp
 *
 *  Created on: 14. 03. 2021
 *      Author: Martin Prokopic
 */
#include "EndToBeginIndex.h"
#include <registration/AlgoRegistration.hpp>

namespace {

auto EndToBeginIndexLinearString = registration::AbstractRegister < stringology::transform::EndToBeginIndex, ext::set < unsigned >, const string::LinearString < > &, const ext::set < unsigned > & > ( stringology::transform::EndToBeginIndex::transform, "pattern", "indexes" ).setDocumentation (
        "Transforms a set of occurrences represented by end indexes to set of occurrences representing by begin indexes.\n\
\n\
@param pattern the pattern that was being searched for\n\
@param indexes the original occurrences\n\
@return the set of transformed occurences" );

} /* namespace */
