Safe Haskell | Safe-Infered |
---|
Algorithm Options for HTools
This module describes the parameters that influence the balancing algorithm in htools.
- data AlgorithmOptions = AlgorithmOptions {
- algDiskMoves :: Bool
- algDiskMovesFactor :: Double
- algInstanceMoves :: Bool
- algRestrictedMigration :: Bool
- algIgnoreSoftErrors :: Bool
- algEvacMode :: Bool
- algMinGain :: Double
- algMinGainLimit :: Double
- algCapacity :: Bool
- algCapacityIgnoreGroups :: [Gdx]
- algRestrictToNodes :: Maybe [String]
- algAllowedNodes :: Maybe (Set Int)
- algAcceptExisting :: Bool
- fromCLIOptions :: Options -> AlgorithmOptions
- defaultOptions :: AlgorithmOptions
Documentation
data AlgorithmOptions Source
AlgorithmOptions | |
|
fromCLIOptions :: Options -> AlgorithmOptionsSource
Obtain the relevant algorithmic option from the commandline options
defaultOptions :: AlgorithmOptionsSource
Default options for the balancing algorithm