Safe Haskell | Safe-Infered |
---|
Implementation of the primitives of instance allocation
- allocateOnSingle :: AlgorithmOptions -> List -> Instance -> Ndx -> OpResult AllocElement
- allocateOnPair :: AlgorithmOptions -> ClusterStatistics -> List -> Instance -> Ndx -> Ndx -> OpResult AllocElement
Documentation
allocateOnSingle :: AlgorithmOptions -> List -> Instance -> Ndx -> OpResult AllocElementSource
Tries to allocate an instance on one given node.
allocateOnPair :: AlgorithmOptions -> ClusterStatistics -> List -> Instance -> Ndx -> Ndx -> OpResult AllocElementSource
Tries to allocate an instance on a given pair of nodes.