Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- data TaskSpec = TaskSpec ProblemType DiscountFactor AbsDataType AbsDataType RewardBounds String
- data ProblemType
- type DiscountFactor = Double
- data AbsDataType = AbsDataType IntsBounds DoublesBounds NumChars
- type IntsBounds = [DataBounds Int]
- type DoublesBounds = [DataBounds Double]
- type NumChars = Int
- type DataBounds a = (LowBound a, UpBound a)
- type RewardBounds = DataBounds Double
- data LowBound a
- data UpBound a
- toTaskSpec :: ByteString -> Either ParseError TaskSpec
- toTaskSpecOrDie :: ByteString -> IO TaskSpec
- parseTaskSpec :: ParsecT ByteString () Identity TaskSpec
Task Spec data types
type DiscountFactor = Double Source
type IntsBounds = [DataBounds Int] Source
type DoublesBounds = [DataBounds Double] Source
type DataBounds a = (LowBound a, UpBound a) Source
type RewardBounds = DataBounds Double Source