Safe Haskell | Safe-Infered |
---|
Cluster checker.
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- data Phase
- = Initial
- | Rebalanced
- data Level
- = GroupLvl String
- | ClusterLvl
- type GroupInfo = (Gdx, (List, List))
- type GroupStats = ((Group, Double, Int), [Int])
- htcPrefix :: String
- commonData :: Options -> [(String, String)]
- groupData :: Options -> [(String, String)]
- clusterData :: Options -> [(String, String)]
- phasePrefix :: Phase -> String
- levelPrefix :: Level -> String
- keysData :: Options -> Level -> [String]
- phaseDescr :: Phase -> String
- descrData :: Options -> Level -> [String]
- phaseLevelDescr :: Phase -> Level -> String
- printKeysHTC :: [(String, String)] -> IO ()
- printBool :: Bool -> Bool -> String
- printGroupsMappings :: List -> IO ()
- prepareKey :: Level -> Phase -> String -> String
- printStats :: Options -> Bool -> Level -> Phase -> [String] -> IO ()
- extractGroupData :: Bool -> Group -> String
- prepareGroupValues :: [Int] -> Double -> Int -> [String]
- prepareClusterValues :: Bool -> [Int] -> [Bool] -> [String]
- printGroupStats :: Options -> Bool -> Phase -> GroupStats -> IO ()
- printClusterStats :: Options -> Bool -> Phase -> [Int] -> Bool -> Int -> IO ()
- clusterNeedsRebalance :: [Int] -> Bool
- perGroupChecks :: Options -> List -> GroupInfo -> GroupStats
- executeSimulation :: Options -> Table -> Double -> Gdx -> List -> List -> IO GroupInfo
- maybeSimulateGroupRebalance :: Options -> GroupInfo -> IO GroupInfo
- maybeSimulateRebalance :: Bool -> Options -> [GroupInfo] -> IO [GroupInfo]
- printFinalHTC :: Bool -> IO ()
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
GroupLvl String | |
ClusterLvl |
type GroupStats = ((Group, Double, Int), [Int])Source
commonData :: Options -> [(String, String)]Source
clusterData :: Options -> [(String, String)]Source
phasePrefix :: Phase -> StringSource
levelPrefix :: Level -> StringSource
phaseDescr :: Phase -> StringSource
phaseLevelDescr :: Phase -> Level -> StringSource
printKeysHTC :: [(String, String)] -> IO ()Source
printGroupsMappings :: List -> IO ()Source
prepareKey :: Level -> Phase -> String -> StringSource
printStats :: Options -> Bool -> Level -> Phase -> [String] -> IO ()Source
extractGroupData :: Bool -> Group -> StringSource
prepareGroupValues :: [Int] -> Double -> Int -> [String]Source
prepareClusterValues :: Bool -> [Int] -> [Bool] -> [String]Source
printGroupStats :: Options -> Bool -> Phase -> GroupStats -> IO ()Source
printClusterStats :: Options -> Bool -> Phase -> [Int] -> Bool -> Int -> IO ()Source
clusterNeedsRebalance :: [Int] -> BoolSource
perGroupChecks :: Options -> List -> GroupInfo -> GroupStatsSource
maybeSimulateGroupRebalance :: Options -> GroupInfo -> IO GroupInfoSource
maybeSimulateRebalance :: Bool -> Options -> [GroupInfo] -> IO [GroupInfo]Source
printFinalHTC :: Bool -> IO ()Source