| Maintainer | Anders Claesson <anders.claesson@gmail.com> |
|---|---|
| Safe Haskell | None |
Sym.Perm.MeshPattern
Description
- data MeshPattern = MP {}
- type Mesh = Set Box
- type Box = (Int, Int)
- type Point = (Int, Int)
- mkPattern :: Ord a => [a] -> MeshPattern
- pattern :: Perm -> MeshPattern
- mesh :: [Box] -> MeshPattern -> MeshPattern
- cols :: [Int] -> MeshPattern -> MeshPattern
- rows :: [Int] -> MeshPattern -> MeshPattern
- col :: Int -> MeshPattern -> MeshPattern
- row :: Int -> MeshPattern -> MeshPattern
- box :: Box -> MeshPattern -> MeshPattern
- copiesOf :: MeshPattern -> Perm -> [SubSeq]
- contains :: Perm -> MeshPattern -> Bool
- avoids :: Perm -> MeshPattern -> Bool
- avoidsAll :: Perm -> [MeshPattern] -> Bool
- avoiders :: [MeshPattern] -> [Perm] -> [Perm]
- kVincular :: Int -> Perm -> [MeshPattern]
- vincular :: Perm -> [MeshPattern]
- bivincular :: Perm -> [MeshPattern]
- meshPatterns :: Perm -> [MeshPattern]
Documentation
data MeshPattern Source
Instances
mkPattern :: Ord a => [a] -> MeshPatternSource
pattern :: Perm -> MeshPatternSource
mesh :: [Box] -> MeshPattern -> MeshPatternSource
cols :: [Int] -> MeshPattern -> MeshPatternSource
rows :: [Int] -> MeshPattern -> MeshPatternSource
col :: Int -> MeshPattern -> MeshPatternSource
row :: Int -> MeshPattern -> MeshPatternSource
box :: Box -> MeshPattern -> MeshPatternSource
copiesOf :: MeshPattern -> Perm -> [SubSeq]Source
copiesOf p w is the list of sets that represent copies of p in w.
contains :: Perm -> MeshPattern -> BoolSource
w is a predicate determining if contains pw contains the pattern p.
avoids :: Perm -> MeshPattern -> BoolSource
w is a predicate determining if avoids pw avoids the pattern p.
avoidsAll :: Perm -> [MeshPattern] -> BoolSource
w is a predicate determining if avoidsAll psw avoids the patterns ps.
avoiders :: [MeshPattern] -> [Perm] -> [Perm]Source
avoiders ps ws is the list of permutations in ws avoiding the
patterns in ps.
kVincular :: Int -> Perm -> [MeshPattern]Source
vincular :: Perm -> [MeshPattern]Source
bivincular :: Perm -> [MeshPattern]Source
meshPatterns :: Perm -> [MeshPattern]Source