Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Modelling.PetriNet.MatchToMath
Synopsis
- type GraphToMathInstance = MatchInstance (Drawable (SimplePetriLike String)) Math
- type Math = PetriMath Formula
- data MathConfig = MathConfig {}
- data MatchInstance a b = MatchInstance {}
- type MathToGraphInstance = MatchInstance Math (Drawable (SimplePetriLike String))
- addPartNames :: NamedParts n => n a -> n (String, a)
- checkGraphToMathConfig :: MathConfig -> Maybe String
- checkMathConfig :: MathConfig -> Maybe String
- defaultGraphToMathInstance :: GraphToMathInstance
- defaultMathConfig :: MathConfig
- defaultMathToGraphInstance :: MathToGraphInstance
- graphToMath :: (MonadAlloy m, MonadCatch m, MonadDiagrams m, MonadGraphviz m, Net p n) => MathConfig -> Int -> Int -> m (MatchInstance (Drawable (p n String)) Math)
- graphToMathEvaluation :: OutputCapable m => GraphToMathInstance -> Int -> LangM m
- graphToMathSyntax :: OutputCapable m => GraphToMathInstance -> Int -> LangM m
- graphToMathTask :: (MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, OutputCapable m) => FilePath -> GraphToMathInstance -> LangM m
- matchSolution :: MatchInstance a b -> Int
- mathToGraph :: (MonadAlloy m, MonadCatch m, MonadDiagrams m, MonadGraphviz m, Net p n) => MathConfig -> Int -> Int -> m (MatchInstance Math (Drawable (p n String)))
- mathToGraphEvaluation :: OutputCapable m => MathToGraphInstance -> Int -> LangM m
- mathToGraphSyntax :: OutputCapable m => MathToGraphInstance -> Int -> LangM m
- mathToGraphTask :: (MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, OutputCapable m) => FilePath -> MathToGraphInstance -> LangM m
- petriNetRnd :: BasicConfig -> AdvConfig -> String
Documentation
type GraphToMathInstance = MatchInstance (Drawable (SimplePetriLike String)) Math Source #
data MathConfig Source #
Constructors
MathConfig | |
Fields
|
Instances
data MatchInstance a b Source #
Constructors
MatchInstance | |
Instances
type MathToGraphInstance = MatchInstance Math (Drawable (SimplePetriLike String)) Source #
addPartNames :: NamedParts n => n a -> n (String, a) Source #
Deprecated: the whole type class NamedParts will be removed
checkMathConfig :: MathConfig -> Maybe String Source #
graphToMath :: (MonadAlloy m, MonadCatch m, MonadDiagrams m, MonadGraphviz m, Net p n) => MathConfig -> Int -> Int -> m (MatchInstance (Drawable (p n String)) Math) Source #
graphToMathEvaluation :: OutputCapable m => GraphToMathInstance -> Int -> LangM m Source #
graphToMathSyntax :: OutputCapable m => GraphToMathInstance -> Int -> LangM m Source #
graphToMathTask :: (MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, OutputCapable m) => FilePath -> GraphToMathInstance -> LangM m Source #
matchSolution :: MatchInstance a b -> Int Source #
mathToGraph :: (MonadAlloy m, MonadCatch m, MonadDiagrams m, MonadGraphviz m, Net p n) => MathConfig -> Int -> Int -> m (MatchInstance Math (Drawable (p n String))) Source #
mathToGraphEvaluation :: OutputCapable m => MathToGraphInstance -> Int -> LangM m Source #
mathToGraphSyntax :: OutputCapable m => MathToGraphInstance -> Int -> LangM m Source #
mathToGraphTask :: (MonadCache m, MonadDiagrams m, MonadGraphviz m, MonadThrow m, OutputCapable m) => FilePath -> MathToGraphInstance -> LangM m Source #
petriNetRnd :: BasicConfig -> AdvConfig -> String Source #