Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Modelling.PetriNet.Reach.Reach
Description
originally from Autotool (https:/gitlab.imn.htwk-leipzig.deautotool/all0) based on revision: ad25a990816a162fdd13941ff889653f22d6ea0a based on file: collectionsrcPetri/Reach.hs
Documentation
verifyReach :: (Ord a, Ord t, OutputCapable m, Show a, Show t) => ReachInstance a t -> LangM m Source #
reachTask :: (MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, Ord s, Ord t, OutputCapable m, Show s, Show t) => FilePath -> ReachInstance s t -> LangM m Source #
reportReachFor :: OutputCapable m => FilePath -> Maybe Int -> Maybe Int -> Int -> Bool -> Maybe (Either FilePath String) -> LangM m Source #
reachSyntax :: OutputCapable m => ReachInstance s Transition -> [Transition] -> LangM m Source #
transitionsValid :: OutputCapable m => Net s Transition -> [Transition] -> LangM m Source #
reachEvaluation :: (Alternative m, MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, OutputCapable m) => FilePath -> ReachInstance Place Transition -> [Transition] -> Rated m Source #
netGoalSolution :: Ord s => NetGoal s t -> [t] Source #
reachSolution :: Ord s => ReachInstance s t -> [t] Source #
assertReachPoints :: OutputCapable m => Maybe String -> (i -> a -> Bool) -> (i -> Int) -> i -> [b] -> Either Int a -> Rated m Source #
isNoLonger :: OutputCapable m => Maybe Int -> [a] -> LangM m Source #
data ReachInstance s t Source #
Constructors
ReachInstance | |
Fields
|
Instances
Instances
(Data s, Data t, Ord s, Ord t) => Data (NetGoal s t) Source # | |
Defined in Modelling.PetriNet.Reach.Reach Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetGoal s t -> c (NetGoal s t) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (NetGoal s t) # toConstr :: NetGoal s t -> Constr # dataTypeOf :: NetGoal s t -> DataType # dataCast1 :: Typeable t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (NetGoal s t)) # dataCast2 :: Typeable t0 => (forall d e. (Data d, Data e) => c (t0 d e)) -> Maybe (c (NetGoal s t)) # gmapT :: (forall b. Data b => b -> b) -> NetGoal s t -> NetGoal s t # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetGoal s t -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetGoal s t -> r # gmapQ :: (forall d. Data d => d -> u) -> NetGoal s t -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> NetGoal s t -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetGoal s t -> m (NetGoal s t) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetGoal s t -> m (NetGoal s t) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetGoal s t -> m (NetGoal s t) # | |
Generic (NetGoal s t) Source # | |
(Read s, Read t, Ord s, Ord t) => Read (NetGoal s t) Source # | |
(Show s, Show t) => Show (NetGoal s t) Source # | |
type Rep (NetGoal s t) Source # | |
Defined in Modelling.PetriNet.Reach.Reach type Rep (NetGoal s t) = D1 ('MetaData "NetGoal" "Modelling.PetriNet.Reach.Reach" "modelling-tasks-0.0.0.1-5lkaY76HE6k79qLVIy6Ku2" 'False) (C1 ('MetaCons "NetGoal" 'PrefixI 'True) (S1 ('MetaSel ('Just "drawUsing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GraphvizCommand) :*: (S1 ('MetaSel ('Just "petriNet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Net s t)) :*: S1 ('MetaSel ('Just "goal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (State s))))) |
bimapReachInstance :: (Ord a, Ord b) => (s -> a) -> (t -> b) -> ReachInstance s t -> ReachInstance a b Source #
toShowReachInstance :: ReachInstance Place Transition -> ReachInstance ShowPlace ShowTransition Source #
data ReachConfig Source #
Constructors
ReachConfig | |
Fields |
Instances
data NetGoalConfig Source #
Constructors
NetGoalConfig | |
Fields
|
Instances
generateNetGoal :: (MonadCatch m, MonadDiagrams m, MonadGraphviz m) => NetGoalConfig -> Int -> m (NetGoal Place Transition) Source #
generateReach :: (MonadCatch m, MonadDiagrams m, MonadGraphviz m) => ReachConfig -> Int -> m (ReachInstance Place Transition) Source #