Safe Haskell | None |
---|
Data.Algorithms.Palindromes.Palindromes
- palindrome :: Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> ByteString -> String
- palindromesAroundCentres :: Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> ByteString -> ByteString -> Array Int Int -> [Int]
- dnaLengthGappedApproximatePalindromeAround :: Maybe Flag -> Maybe Flag -> Int -> ByteString -> String
Documentation
palindrome :: Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> ByteString -> StringSource
palindrome captures all possible variants of finding palindromes.
palindromesAroundCentres :: Maybe Flag -> Maybe Flag -> Maybe Flag -> Maybe Flag -> ByteString -> ByteString -> Array Int Int -> [Int]Source
palindromesAroundCentres is the central function of the module. It returns the list of lenghths of the longest palindrome around each position in a string.
dnaLengthGappedApproximatePalindromeAround :: Maybe Flag -> Maybe Flag -> Int -> ByteString -> StringSource