The KnuthMorrisPrattSearch type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| KnuthMorrisPrattSearch |
Constructs a KMP matcher to find exact occurances of
pattern in text using the
Knuth-Morris-Pratt algorithm.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FindMatches |
This will return an int[] giving the offsets of the matches in text
(ie the location of the first symbol of each match in the text).
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| KmpNextTable |
The table of border lengths
| |
| Pattern |
the pattern being searched for
|