Header menu logo BioFSharp

Naive Module

A collection of naive string matching algorithms

Functions and values

Function or value Description

find pattern s

Full Usage: find pattern s

Parameters:
    pattern : 'a array
    s : 'a array

Returns: int

finds the first match of a query pattern in a source

pattern : 'a array
s : 'a array
Returns: int

findAll pattern s

Full Usage: findAll pattern s

Parameters:
    pattern : 'a array
    s : 'a array

Returns: int list

finds all matches of a query pattern in a source

pattern : 'a array
s : 'a array
Returns: int list

findFrom startPos pattern s

Full Usage: findFrom startPos pattern s

Parameters:
    startPos : int
    pattern : 'a array
    s : 'a array

Returns: int

finds the first match of a query pattern in a source starting from a specific position in the source

startPos : int
pattern : 'a array
s : 'a array
Returns: int

Type something to start searching.