ShiftAndPattern - SeqAn API Documentation

# Spec ShiftAndPattern
Exact string matching using bit parallelism.

Extends | Pattern
All Extended | Pattern
Defined in | <seqan/find.h>
Signature | `template <typename TNeedle> class Pattern<TNeedle, ShiftAnd>;`

## Template Parameters

`TNeedle` | The needle type. Types: String

## Interface Function Overview

### Interface Functions Inherited From Pattern

- `getBeginScore`
- `host`
- `needle`
- `position`
- `scoringScheme`
- `setNeedle`
- `setScoringScheme`

## Interface Metafunction Overview

### Interface Metafunctions Inherited From Pattern

- `Container`
- `Difference`
- `Host`
- `Needle`
- `PexMultiFinder`
- `Position`
- `ScoringScheme`
- `Size`
- `Value`

## Detailed Description

The Shift-And algorithm is applicable to search small patterns in texts using a small alphabet.

The types of the needle and the haystack have to match.

#### Dox Sources

    /*!
     * @class ShiftAndPattern
     *
     * @extends Pattern
     *
     * @headerfile <seqan/find.h>
     *
     * @brief Exact string matching using bit parallelism.
     *
     * @signature template <typename TNeedle> class Pattern<TNeedle, ShiftAnd>;
     *
     * @tparam TNeedle The needle type. Types: String
     *
     * The Shift-And algorithm is applicable to search small patterns in texts using
     * a small alphabet.
     *
     * The types of the needle and the haystack have to match.
     */