monadiccp-0.7.7: Constraint Programming

Safe HaskellNone
LanguageHaskell98

Control.CP.FD.SearchSpec.Data

Documentation

type VarExpr = Expr VarStat () () Source #

data Labelling v a b Source #

Constructors

LabelInt v VarExpr (ConstraintExpr -> ConstraintExpr -> ConstraintBoolExpr) 
LabelCol a VarExpr OptimDirection VarExpr (ConstraintExpr -> ConstraintExpr -> ConstraintBoolExpr) 
LabelBool b VarExpr 

Instances

(Show v, Show a, Show b) => Show (Labelling v a b) Source # 

Methods

showsPrec :: Int -> Labelling v a b -> ShowS #

show :: Labelling v a b -> String #

showList :: [Labelling v a b] -> ShowS #

data SearchSpec v a b Source #

Instances

(Show v, Show a, Show b) => Show (SearchSpec v a b) Source # 

Methods

showsPrec :: Int -> SearchSpec v a b -> ShowS #

show :: SearchSpec v a b -> String #

showList :: [SearchSpec v a b] -> ShowS #

mmapSearch :: Monad m => SearchSpec v1 a1 b1 -> (v1 -> m v2) -> (a1 -> m a2) -> (b1 -> m b2) -> m (SearchSpec v2 a2 b2) Source #