Click or drag to resize
SuffixArrayIndex Method
Returns the index into the original string of the ith smallest suffix. That is, text.Substring(sa.Index(i)) is the ith smallest suffix.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Index(
	int i
)

Parameters

i
Type: SystemInt32
an integer between 0 and N-1

Return Value

Type: Int32
the index into the original string of the ith smallest suffix
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionunless 0 <= i < N
See Also