modelling-tasks-0.0.0.1
Safe HaskellNone
LanguageHaskell2010

Modelling.ActivityDiagram.MatchAd

Documentation

data MatchAdConfig Source #

Instances

Instances details
Reader MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

ToDoc MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Methods

toDocPrec :: Int -> MatchAdConfig -> Doc

toDocList :: [MatchAdConfig] -> Doc

Generic MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Associated Types

type Rep MatchAdConfig 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdConfig = D1 ('MetaData "MatchAdConfig" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AdConfig) :*: (S1 ('MetaSel ('Just "maxInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "hideBranchConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "withActivityFinalInForkBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "printSolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "extraText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtraText)))))
Read MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Show MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdConfig Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdConfig = D1 ('MetaData "MatchAdConfig" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AdConfig) :*: (S1 ('MetaSel ('Just "maxInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "hideBranchConditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "withActivityFinalInForkBlocks") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "printSolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "extraText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtraText)))))

data MatchAdInstance Source #

Instances

Instances details
Reader MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

ToDoc MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Methods

toDocPrec :: Int -> MatchAdInstance -> Doc

toDocList :: [MatchAdInstance] -> Doc

Generic MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Associated Types

type Rep MatchAdInstance 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdInstance = D1 ('MetaData "MatchAdInstance" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdInstance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityDiagram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UMLActivityDiagram) :*: S1 ('MetaSel ('Just "plantUMLConf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PlantUmlConfig)) :*: (S1 ('MetaSel ('Just "showSolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "addText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtraText))))
Read MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Show MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Eq MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Hashable MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdInstance Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdInstance = D1 ('MetaData "MatchAdInstance" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdInstance" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityDiagram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UMLActivityDiagram) :*: S1 ('MetaSel ('Just "plantUMLConf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PlantUmlConfig)) :*: (S1 ('MetaSel ('Just "showSolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "addText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExtraText))))

data MatchAdSolution Source #

Instances

Instances details
Reader MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

ToDoc MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Methods

toDocPrec :: Int -> MatchAdSolution -> Doc

toDocList :: [MatchAdSolution] -> Doc

Generic MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Associated Types

type Rep MatchAdSolution 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdSolution = D1 ('MetaData "MatchAdSolution" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdSolution" 'PrefixI 'True) (((S1 ('MetaSel ('Just "actionNodeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just "objectNodeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])) :*: (S1 ('MetaSel ('Just "countOfDecisionNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfMergeNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "countOfForks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfJoins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "countOfInitialNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "countOfActivityFinalNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfFlowFinalNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))))
Read MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Show MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Eq MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

Hashable MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdSolution Source # 
Instance details

Defined in Modelling.ActivityDiagram.MatchAd

type Rep MatchAdSolution = D1 ('MetaData "MatchAdSolution" "Modelling.ActivityDiagram.MatchAd" "modelling-tasks-0.0.0.1-2KiclaEArwR4yz1IHg8eKf" 'False) (C1 ('MetaCons "MatchAdSolution" 'PrefixI 'True) (((S1 ('MetaSel ('Just "actionNodeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just "objectNodeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])) :*: (S1 ('MetaSel ('Just "countOfDecisionNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfMergeNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "countOfForks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfJoins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "countOfInitialNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "countOfActivityFinalNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "countOfFlowFinalNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))))

matchAd :: (MonadAlloy m, MonadThrow m) => MatchAdConfig -> Int -> Int -> m MatchAdInstance Source #

matchAdEvaluation :: forall (m :: Type -> Type). OutputCapable m => MatchAdInstance -> MatchAdSolution -> Rated m Source #

matchAdSyntax :: forall (m :: Type -> Type). OutputCapable m => MatchAdInstance -> MatchAdSolution -> LangM m Source #

matchAdTask :: forall (m :: Type -> Type). (MonadPlantUml m, MonadWriteFile m, OutputCapable m) => FilePath -> MatchAdInstance -> LangM m Source #