RabinKarp Module
A collection of Rabin-Karp string matching algorithms and hash functions
Nested modules
Modules | Description |
Functions and values
Function or value | Description |
Full Usage:
findAllGeneric updateHash blockHash pattern s
Parameters:
'c -> 'a -> 'a -> 'c
blockHash : 'a array -> 'c
pattern : 'a array
s : 'a array
Returns: int list
Modifiers: inline Type parameters: 'c, 'a |
|
Full Usage:
findFromGeneric startPos updateHash blockHash pattern text
Parameters:
int
updateHash : 'c -> 'a -> 'a -> 'c
blockHash : 'a array -> 'c
pattern : 'a array
text : 'a array
Returns: int
|
|
Full Usage:
isMatchAt pattern s startPos
Parameters:
'a array
s : 'a array
startPos : int
Returns: bool
|