monadiccp-0.7.7: Constraint Programming

Safe HaskellSafe
LanguageHaskell98

Control.CP.FD.Model

Documentation

data ModelIntTerm t Source #

Instances

ModelTermType ModelCol Source # 
ModelTermType ModelBool Source # 
ModelTermType ModelInt Source # 
Eq t => Eq (ModelIntTerm t) Source # 
Ord t => Ord (ModelIntTerm t) Source # 
Show (ModelIntTerm t) Source # 
FDSolver s => Term (FDInstance s) ModelCol Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelCol :: * Source #

FDSolver s => Term (FDInstance s) ModelBool Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelBool :: * Source #

FDSolver s => Term (FDInstance s) ModelInt Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelInt :: * Source #

(FDSolver s, EnumTerm s (FDBoolTerm s)) => EnumTerm (FDInstance s) ModelBool Source # 
(FDSolver s, EnumTerm s (FDIntTerm s)) => EnumTerm (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelCol Source # 
type Help (FDInstance s) ModelCol = ()
type Help (FDInstance s) ModelBool Source # 
type Help (FDInstance s) ModelBool = ()
type Help (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelInt = ()
type TermBaseType (FDInstance s) ModelBool Source # 
type TermBaseType (FDInstance s) ModelInt Source # 

data ModelBoolTerm t Source #

Instances

ModelTermType ModelCol Source # 
ModelTermType ModelBool Source # 
ModelTermType ModelInt Source # 
Eq t => Eq (ModelBoolTerm t) Source # 
Ord t => Ord (ModelBoolTerm t) Source # 
Show t => Show (ModelBoolTerm t) Source # 
FDSolver s => Term (FDInstance s) ModelCol Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelCol :: * Source #

FDSolver s => Term (FDInstance s) ModelBool Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelBool :: * Source #

FDSolver s => Term (FDInstance s) ModelInt Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelInt :: * Source #

(FDSolver s, EnumTerm s (FDBoolTerm s)) => EnumTerm (FDInstance s) ModelBool Source # 
(FDSolver s, EnumTerm s (FDIntTerm s)) => EnumTerm (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelCol Source # 
type Help (FDInstance s) ModelCol = ()
type Help (FDInstance s) ModelBool Source # 
type Help (FDInstance s) ModelBool = ()
type Help (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelInt = ()
type TermBaseType (FDInstance s) ModelBool Source # 
type TermBaseType (FDInstance s) ModelInt Source # 

data ModelColTerm t Source #

Instances

ModelTermType ModelCol Source # 
ModelTermType ModelBool Source # 
ModelTermType ModelInt Source # 
Eq t => Eq (ModelColTerm t) Source # 
Ord t => Ord (ModelColTerm t) Source # 
Show (ModelColTerm t) Source # 
FDSolver s => Term (FDInstance s) ModelCol Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelCol :: * Source #

FDSolver s => Term (FDInstance s) ModelBool Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelBool :: * Source #

FDSolver s => Term (FDInstance s) ModelInt Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelInt :: * Source #

(FDSolver s, EnumTerm s (FDBoolTerm s)) => EnumTerm (FDInstance s) ModelBool Source # 
(FDSolver s, EnumTerm s (FDIntTerm s)) => EnumTerm (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelCol Source # 
type Help (FDInstance s) ModelCol = ()
type Help (FDInstance s) ModelBool Source # 
type Help (FDInstance s) ModelBool = ()
type Help (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelInt = ()
type TermBaseType (FDInstance s) ModelBool Source # 
type TermBaseType (FDInstance s) ModelInt Source # 

data ModelFunctions Source #

Constructors

ForNewBool (ModelBoolExpr ModelFunctions -> Model) 
ForNewInt (ModelIntExpr ModelFunctions -> Model) 
ForNewCol (ModelColExpr ModelFunctions -> Model) 

Instances

Eq ModelFunctions Source # 
Ord ModelFunctions Source # 
Show ModelFunctions Source # 
ModelTermType ModelCol Source # 
ModelTermType ModelBool Source # 
ModelTermType ModelInt Source # 
FDSolver s => Term (FDInstance s) ModelCol Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelCol :: * Source #

FDSolver s => Term (FDInstance s) ModelBool Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelBool :: * Source #

FDSolver s => Term (FDInstance s) ModelInt Source # 

Associated Types

type Help (FDInstance s :: * -> *) ModelInt :: * Source #

(FDSolver s, EnumTerm s (FDBoolTerm s)) => EnumTerm (FDInstance s) ModelBool Source # 
(FDSolver s, EnumTerm s (FDIntTerm s)) => EnumTerm (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelCol Source # 
type Help (FDInstance s) ModelCol = ()
type Help (FDInstance s) ModelBool Source # 
type Help (FDInstance s) ModelBool = ()
type Help (FDInstance s) ModelInt Source # 
type Help (FDInstance s) ModelInt = ()
type TermBaseType (FDInstance s) ModelBool Source # 
type TermBaseType (FDInstance s) ModelInt Source # 

type ModelInt = ModelIntExpr ModelFunctions Source #

class ToModelInt t where Source #

Minimal complete definition

asExpr

Methods

asExpr :: t -> ModelInt Source #

type ModelCol = ModelColExpr ModelFunctions Source #

class ToModelCol t where Source #

Minimal complete definition

asCol

Methods

asCol :: t -> ModelCol Source #

type ModelBool = ModelBoolExpr ModelFunctions Source #

modelVariantInt :: ModelIntExpr x -> Bool Source #

modelVariantBool :: ModelBoolExpr x -> Bool Source #

modelVariantCol :: ModelColExpr x -> Bool Source #