module Modelling.PetriNet.PetriPickConflict.Config where
import Modelling.PetriNet.Types (
AlloyConfig (..),
BasicConfig (..),
ChangeConfig (..),
ConflictConfig (..),
GraphConfig (..),
PickConflictConfig (..),
)
import Data.GraphViz.Commands (GraphvizCommand(..))
task2023_22 :: PickConflictConfig
task2023_22 :: PickConflictConfig
task2023_22 = PickConflictConfig {
$sel:basicConfig:PickConflictConfig :: BasicConfig
basicConfig = BasicConfig {
$sel:places:BasicConfig :: Int
places = Int
6,
$sel:transitions:BasicConfig :: Int
transitions = Int
6,
$sel:atLeastActive:BasicConfig :: Int
atLeastActive = Int
5,
$sel:flowOverall:BasicConfig :: (Int, Int)
flowOverall = (Int
12, Int
14) ,
$sel:maxTokensPerPlace:BasicConfig :: Int
maxTokensPerPlace = Int
1,
$sel:maxFlowPerEdge:BasicConfig :: Int
maxFlowPerEdge = Int
2,
$sel:tokensOverall:BasicConfig :: (Int, Int)
tokensOverall = (Int
5, Int
5),
$sel:isConnected:BasicConfig :: Maybe Bool
isConnected = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True
},
$sel:changeConfig:PickConflictConfig :: ChangeConfig
changeConfig = ChangeConfig {
$sel:tokenChangeOverall:ChangeConfig :: Int
tokenChangeOverall = Int
0,
$sel:maxTokenChangePerPlace:ChangeConfig :: Int
maxTokenChangePerPlace = Int
0,
$sel:flowChangeOverall:ChangeConfig :: Int
flowChangeOverall = Int
2,
$sel:maxFlowChangePerEdge:ChangeConfig :: Int
maxFlowChangePerEdge = Int
1
},
$sel:conflictConfig:PickConflictConfig :: ConflictConfig
conflictConfig = ConflictConfig {
$sel:addConflictCommonPreconditions:ConflictConfig :: Maybe Bool
addConflictCommonPreconditions = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
False,
$sel:withConflictDistractors:ConflictConfig :: Maybe Bool
withConflictDistractors = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
False,
$sel:conflictDistractorAddExtraPreconditions:ConflictConfig :: Maybe Bool
conflictDistractorAddExtraPreconditions = Maybe Bool
forall a. Maybe a
Nothing,
$sel:conflictDistractorOnlyConflictLike:ConflictConfig :: Bool
conflictDistractorOnlyConflictLike = Bool
False,
$sel:conflictDistractorOnlyConcurrentLike:ConflictConfig :: Bool
conflictDistractorOnlyConcurrentLike = Bool
False
},
$sel:graphConfig:PickConflictConfig :: GraphConfig
graphConfig = GraphConfig {
$sel:graphLayouts:GraphConfig :: [GraphvizCommand]
graphLayouts = [GraphvizCommand
Dot, GraphvizCommand
Sfdp],
$sel:hidePlaceNames:GraphConfig :: Bool
hidePlaceNames = Bool
True,
$sel:hideTransitionNames:GraphConfig :: Bool
hideTransitionNames = Bool
True,
$sel:hideWeight1:GraphConfig :: Bool
hideWeight1 = Bool
True
},
$sel:printSolution:PickConflictConfig :: Bool
printSolution = Bool
True,
$sel:prohibitSourceTransitions:PickConflictConfig :: Bool
prohibitSourceTransitions = Bool
False,
$sel:uniqueConflictPlace:PickConflictConfig :: Maybe Bool
uniqueConflictPlace = Maybe Bool
forall a. Maybe a
Nothing,
$sel:useDifferentGraphLayouts:PickConflictConfig :: Bool
useDifferentGraphLayouts = Bool
True,
$sel:alloyConfig:PickConflictConfig :: AlloyConfig
alloyConfig = AlloyConfig {
$sel:maxInstances:AlloyConfig :: Maybe Integer
maxInstances = Integer -> Maybe Integer
forall a. a -> Maybe a
Just Integer
2000,
$sel:timeout:AlloyConfig :: Maybe Int
timeout = Maybe Int
forall a. Maybe a
Nothing
},
$sel:extraText:PickConflictConfig :: Maybe (Map Language String)
extraText = Maybe (Map Language String)
forall a. Maybe a
Nothing
}
task2023_16 :: PickConflictConfig
task2023_16 :: PickConflictConfig
task2023_16 = PickConflictConfig {
$sel:basicConfig:PickConflictConfig :: BasicConfig
basicConfig = BasicConfig {
$sel:places:BasicConfig :: Int
places = Int
6,
$sel:transitions:BasicConfig :: Int
transitions = Int
6,
$sel:atLeastActive:BasicConfig :: Int
atLeastActive = Int
2,
$sel:flowOverall:BasicConfig :: (Int, Int)
flowOverall = (Int
16, Int
16) ,
$sel:maxTokensPerPlace:BasicConfig :: Int
maxTokensPerPlace = Int
2,
$sel:maxFlowPerEdge:BasicConfig :: Int
maxFlowPerEdge = Int
1,
$sel:tokensOverall:BasicConfig :: (Int, Int)
tokensOverall = (Int
5, Int
5),
$sel:isConnected:BasicConfig :: Maybe Bool
isConnected = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True
},
$sel:changeConfig:PickConflictConfig :: ChangeConfig
changeConfig = ChangeConfig {
$sel:tokenChangeOverall:ChangeConfig :: Int
tokenChangeOverall = Int
0,
$sel:maxTokenChangePerPlace:ChangeConfig :: Int
maxTokenChangePerPlace = Int
0,
$sel:flowChangeOverall:ChangeConfig :: Int
flowChangeOverall = Int
2,
$sel:maxFlowChangePerEdge:ChangeConfig :: Int
maxFlowChangePerEdge = Int
1
},
$sel:conflictConfig:PickConflictConfig :: ConflictConfig
conflictConfig = ConflictConfig {
$sel:addConflictCommonPreconditions:ConflictConfig :: Maybe Bool
addConflictCommonPreconditions = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True,
$sel:withConflictDistractors:ConflictConfig :: Maybe Bool
withConflictDistractors = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True,
$sel:conflictDistractorAddExtraPreconditions:ConflictConfig :: Maybe Bool
conflictDistractorAddExtraPreconditions = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True,
$sel:conflictDistractorOnlyConflictLike:ConflictConfig :: Bool
conflictDistractorOnlyConflictLike = Bool
True,
$sel:conflictDistractorOnlyConcurrentLike:ConflictConfig :: Bool
conflictDistractorOnlyConcurrentLike = Bool
False
},
$sel:graphConfig:PickConflictConfig :: GraphConfig
graphConfig = GraphConfig {
$sel:graphLayouts:GraphConfig :: [GraphvizCommand]
graphLayouts = [GraphvizCommand
Dot, GraphvizCommand
Sfdp],
$sel:hidePlaceNames:GraphConfig :: Bool
hidePlaceNames = Bool
True,
$sel:hideTransitionNames:GraphConfig :: Bool
hideTransitionNames = Bool
True,
$sel:hideWeight1:GraphConfig :: Bool
hideWeight1 = Bool
True
},
$sel:printSolution:PickConflictConfig :: Bool
printSolution = Bool
True,
$sel:prohibitSourceTransitions:PickConflictConfig :: Bool
prohibitSourceTransitions = Bool
False,
$sel:uniqueConflictPlace:PickConflictConfig :: Maybe Bool
uniqueConflictPlace = Bool -> Maybe Bool
forall a. a -> Maybe a
Just Bool
True,
$sel:useDifferentGraphLayouts:PickConflictConfig :: Bool
useDifferentGraphLayouts = Bool
True,
$sel:alloyConfig:PickConflictConfig :: AlloyConfig
alloyConfig = AlloyConfig {
$sel:maxInstances:AlloyConfig :: Maybe Integer
maxInstances = Integer -> Maybe Integer
forall a. a -> Maybe a
Just Integer
1000,
$sel:timeout:AlloyConfig :: Maybe Int
timeout = Maybe Int
forall a. Maybe a
Nothing
},
$sel:extraText:PickConflictConfig :: Maybe (Map Language String)
extraText = Maybe (Map Language String)
forall a. Maybe a
Nothing
}
task2024_30 :: PickConflictConfig
task2024_30 :: PickConflictConfig
task2024_30 = PickConflictConfig
task2023_16
task2024_31 :: PickConflictConfig
task2024_31 :: PickConflictConfig
task2024_31 = PickConflictConfig
task2023_22