, doNextBalance
, tryBalance
, compCV
+ , compDetailedCV
, printStats
, iMoveToJob
-- * IAllocator functions
-- | The complete state for the balancing solution
data Table = Table Node.List Instance.List Score [Placement]
- deriving (Show)
+ deriving (Show, Read)
data CStats = CStats { csFmem :: Int -- ^ Cluster free mem
, csFdsk :: Int -- ^ Cluster free disk
, csScore :: Score -- ^ The cluster score
, csNinst :: Int -- ^ The total number of instances
}
- deriving (Show)
+ deriving (Show, Read)
-- | Currently used, possibly to allocate, unallocable
type AllocStats = (RSpec, RSpec, RSpec)