| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Modelling.ActivityDiagram.SelectAS
Synopsis
- data SelectASInstance = SelectASInstance {}
- data SelectASConfig = SelectASConfig {}
- data SelectASSolution = SelectASSolution {
- correctSequence :: [String]
- wrongSequences :: [[String]]
- defaultSelectASConfig :: SelectASConfig
- checkSelectASConfig :: SelectASConfig -> Maybe String
- selectASAlloy :: SelectASConfig -> String
- checkSelectASInstance :: SelectASInstance -> Maybe String
- selectActionSequence :: MonadRandom m => Bool -> Int -> (Int, Int) -> UMLActivityDiagram -> MaybeT m SelectASSolution
- selectASTask :: (MonadPlantUml m, MonadWriteFile m, OutputCapable m) => FilePath -> SelectASInstance -> LangM m
- selectASSyntax :: OutputCapable m => SelectASInstance -> Int -> LangM m
- selectASEvaluation :: OutputCapable m => SelectASInstance -> Int -> LangM m
- selectASSolution :: SelectASInstance -> Int
- selectAS :: (MonadAlloy m, MonadThrow m) => SelectASConfig -> Int -> Int -> m SelectASInstance
- defaultSelectASInstance :: SelectASInstance
Documentation
data SelectASInstance Source #
Constructors
| SelectASInstance | |
Fields
| |
Instances
data SelectASConfig Source #
Constructors
| SelectASConfig | |
Fields
| |
Instances
data SelectASSolution Source #
Constructors
| SelectASSolution | |
Fields
| |
Instances
| Show SelectASSolution Source # | |
Defined in Modelling.ActivityDiagram.SelectAS Methods showsPrec :: Int -> SelectASSolution -> ShowS # show :: SelectASSolution -> String # showList :: [SelectASSolution] -> ShowS # | |
| Eq SelectASSolution Source # | |
Defined in Modelling.ActivityDiagram.SelectAS Methods (==) :: SelectASSolution -> SelectASSolution -> Bool # (/=) :: SelectASSolution -> SelectASSolution -> Bool # | |
selectASAlloy :: SelectASConfig -> String Source #
Arguments
| :: MonadRandom m | |
| => Bool | if sequences should contain at least one action twice |
| -> Int | the number of wrong sequences to return |
| -> (Int, Int) | how long the returned sequences should be specified by (lower, upper) bound |
| -> UMLActivityDiagram | For which AD diagram the correct sequence should be valid |
| -> MaybeT m SelectASSolution |
Generate a set of one correct and multiple wrong sequences.
selectASTask :: (MonadPlantUml m, MonadWriteFile m, OutputCapable m) => FilePath -> SelectASInstance -> LangM m Source #
selectASSyntax :: OutputCapable m => SelectASInstance -> Int -> LangM m Source #
selectASEvaluation :: OutputCapable m => SelectASInstance -> Int -> LangM m Source #
selectAS :: (MonadAlloy m, MonadThrow m) => SelectASConfig -> Int -> Int -> m SelectASInstance Source #