Click or drag to resize
AlgorithmsSearchForSubsequence Method
Overload List
  NameDescription
Public methodStatic memberSearchForSubsequenceT(IListT, IEnumerableT)
Searchs a list for a sub-sequence of items that match a particular pattern. A subsequence of list matches pattern at index i if list[i] is equal to the first item in pattern, list[i+1] is equal to the second item in pattern, and so forth for all the items in pattern.
Public methodStatic memberSearchForSubsequenceT(IListT, IEnumerableT, IEqualityComparerT)
Searchs a list for a sub-sequence of items that match a particular pattern. A subsequence of list matches pattern at index i if list[i] is equal to the first item in pattern, list[i+1] is equal to the second item in pattern, and so forth for all the items in pattern. The passed instance of IEqualityComparer<T> is used for determining if two items are equal.
Public methodStatic memberSearchForSubsequenceT(IListT, IEnumerableT, BinaryPredicateT)
Searchs a list for a sub-sequence of items that match a particular pattern. A subsequence of list matches pattern at index i if list[i] is "equal" to the first item in pattern, list[i+1] is "equal" to the second item in pattern, and so forth for all the items in pattern. The passed BinaryPredicate is used to determine if two items are "equal".
Top
See Also