modelling-tasks-0.0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Modelling.PetriNet.Alloy

Synopsis

Documentation

compBasicConstraints Source #

Arguments

:: String

The name of the Alloy variable for the set of activated Transitions.

-> BasicConfig

the configuration to enforce.

-> String 

A set of constraints enforcing settings of BasicConfig. (Besides defaultConstraints)

defaultConstraints Source #

Arguments

:: String

The name of the Alloy variable for the set of default activated Transitions.

-> BasicConfig

the configuration to enforce.

-> String 

A set of constraints enforcing settings of BasicConfig for the net under default conditions.

signatures Source #

Arguments

:: String

What kind of signatures to generate (e.g., "given" for givenPlaces and givenTransitions)

-> Int

How many places of that kind

-> Int

How many transitions of that kind

-> String 

Generates signatures of the given kind, number of places and transitions.

taskInstance :: (MonadThrow m, RandomGen g, MonadAlloy m) => (f -> AlloyInstance -> RandT g m a) -> (config -> String) -> f -> (config -> AlloyConfig) -> config -> Int -> RandT g m a Source #

unscopedSingleSig :: MonadThrow m => AlloyInstance -> String -> String -> m (Set Object) Source #