Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data CocoCommand
- = ListImages { }
- | ListCategories { }
- | ListAnnotations { }
- | ListCocoResult { }
- | ShowImage { }
- | ShowDetectionImage { }
- | Evaluate { }
- | ShowRisk { }
- | ShowRiskWithError { }
- | GenerateRiskWeightedDataset { }
- | BashCompletion
- | GenerateTemplate
- data RiskCommands = RiskCommands {
- showRisk :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- showRiskWithError :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- generateRiskWeightedDataset :: CocoMap -> FilePath -> Maybe Double -> Maybe Double -> IO ()
- showDetectionImage :: CocoMap -> FilePath -> Maybe Double -> Maybe Double -> IO ()
- evaluate :: CocoMap -> Maybe Double -> Maybe Double -> IO ()
- listImages :: Coco -> IO ()
- listCategories :: Coco -> IO ()
- listAnnotations :: Coco -> IO ()
- listCocoResult :: [CocoResult] -> IO ()
- bashCompletion :: IO ()
- generateTemplate :: IO ()
- opts :: Parser CocoCommand
- baseMain :: RiskCommands -> IO ()
Documentation
data CocoCommand Source #
Instances
Show CocoCommand Source # | |
Defined in RiskWeaver.Cmd.Core showsPrec :: Int -> CocoCommand -> ShowS # show :: CocoCommand -> String # showList :: [CocoCommand] -> ShowS # | |
Eq CocoCommand Source # | |
Defined in RiskWeaver.Cmd.Core (==) :: CocoCommand -> CocoCommand -> Bool # (/=) :: CocoCommand -> CocoCommand -> Bool # |
data RiskCommands Source #
RiskCommands | |
|
listImages :: Coco -> IO () Source #
listCategories :: Coco -> IO () Source #
listAnnotations :: Coco -> IO () Source #
listCocoResult :: [CocoResult] -> IO () Source #
bashCompletion :: IO () Source #
generateTemplate :: IO () Source #
Generate template codes to define own risk environment from BDD.
opts :: Parser CocoCommand Source #
baseMain :: RiskCommands -> IO () Source #