module Modelling.PetriNet.PetriPickConcurrency.Config where
import Modelling.PetriNet.Types (
AlloyConfig (..),
BasicConfig (..),
ChangeConfig (..),
GraphConfig (..),
PickConcurrencyConfig (..),
)
import Control.OutputCapable.Blocks (ExtraText (..))
import Data.GraphViz.Commands (GraphvizCommand(..))
task2023_21 :: PickConcurrencyConfig
task2023_21 :: PickConcurrencyConfig
task2023_21 = PickConcurrencyConfig {
basicConfig :: BasicConfig
basicConfig = BasicConfig {
places :: Int
places = Int
6,
transitions :: Int
transitions = Int
6,
atLeastActive :: Int
atLeastActive = Int
5,
flowOverall :: (Int, Int)
flowOverall = (Int
12, Int
18),
maxTokensPerPlace :: Int
maxTokensPerPlace = Int
2,
maxFlowPerEdge :: Int
maxFlowPerEdge = Int
2,
tokensOverall :: (Int, Int)
tokensOverall = (Int
5, Int
10),
isConnected :: Maybe Bool
isConnected = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True
},
changeConfig :: ChangeConfig
changeConfig = ChangeConfig {
tokenChangeOverall :: Int
tokenChangeOverall = Int
4,
maxTokenChangePerPlace :: Int
maxTokenChangePerPlace = Int
2,
flowChangeOverall :: Int
flowChangeOverall = Int
3,
maxFlowChangePerEdge :: Int
maxFlowChangePerEdge = Int
1
},
graphConfig :: GraphConfig
graphConfig = GraphConfig {
graphLayouts :: [GraphvizCommand]
graphLayouts = [GraphvizCommand
Fdp, GraphvizCommand
Sfdp],
hidePlaceNames :: Bool
hidePlaceNames = Bool
True,
hideTransitionNames :: Bool
hideTransitionNames = Bool
True,
hideWeight1 :: Bool
hideWeight1 = Bool
True
},
printSolution :: Bool
printSolution = Bool
True,
prohibitSourceTransitions :: Bool
prohibitSourceTransitions = Bool
False,
useDifferentGraphLayouts :: Bool
useDifferentGraphLayouts = Bool
True,
alloyConfig :: AlloyConfig
alloyConfig = AlloyConfig {
maxInstances :: Maybe Integer
maxInstances = Integer -> Maybe Integer
forall a. a -> Maybe a
Just Integer
2000,
timeout :: Maybe Int
timeout = Maybe Int
forall a. Maybe a
Nothing
},
extraText :: ExtraText
extraText = ExtraText
NoExtraText
}
task2024_29 :: PickConcurrencyConfig
task2024_29 :: PickConcurrencyConfig
task2024_29 = PickConcurrencyConfig
task2023_21