Portability | portable (depends on ghc) |
---|---|
Stability | provisional |
Maintainer | bastiaan.heeren@ou.nl |
Safe Haskell | None |
Locations in a strategy
- subTaskLocation :: LabeledStrategy a -> Id -> Id -> Id
- nextTaskLocation :: LabeledStrategy a -> Id -> Id -> Id
- strategyLocations :: LabeledStrategy a -> [([Int], LabeledStrategy a)]
- subStrategy :: Id -> LabeledStrategy a -> Maybe (LabeledStrategy a)
Documentation
subTaskLocation :: LabeledStrategy a -> Id -> Id -> IdSource
nextTaskLocation :: LabeledStrategy a -> Id -> Id -> IdSource
strategyLocations :: LabeledStrategy a -> [([Int], LabeledStrategy a)]Source
Returns a list of all strategy locations, paired with the labeled substrategy at that location
subStrategy :: Id -> LabeledStrategy a -> Maybe (LabeledStrategy a)Source
Returns the substrategy or rule at a strategy location. Nothing indicates that the location is invalid