BoyerMoore Module
A collection of Boyer-Moore string matching algorithms
Functions and values
Function or value | Description |
Full Usage:
findAll source query
Parameters:
^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
query : ^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
Returns: int list
the positions of a pattern in a source in a reversed order
Modifiers: inline Type parameters: ^a |
|
Full Usage:
findFirst source query
Parameters:
^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
query : ^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
Returns: int
the first position of a pattern in a source
Modifiers: inline Type parameters: ^a |
|
Full Usage:
findFrom badCharPattern goodCharPattern startindex source query
Parameters:
int array
goodCharPattern : int array
startindex : int
-
int
source : ^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
query : ^a array
-
array of 'a when 'a : (static member op_Explicit : 'a -> int)
Returns: int
the first position of a pattern in a source that is found after behind the given index
Modifiers: inline Type parameters: ^a |
|
Full Usage:
getBadCharacterShift pattern
Parameters:
^a array
Returns: int[]
Modifiers: inline Type parameters: ^a |
|
Full Usage:
getGoodSuffixShift suffixes searchString
Parameters:
int[]
searchString : 'a array
Returns: int[]
|
|
Full Usage:
searchBoyerMoore badCharPattern goodCharPattern is source query
Parameters:
int array
goodCharPattern : int array
is : int
source : ^a array
query : ^a array
Returns: int
Modifiers: inline Type parameters: ^a |
|
Full Usage:
suffixes searchString
Parameters:
'a array
Returns: int[]
|