Apache Mesos
Namespaces | Classes | Typedefs | Functions
mesos::internal::master::allocator Namespace Reference

Namespaces

 internal
 

Classes

class  DRFSorter
 
class  HierarchicalAllocatorProcess
 
class  MesosAllocator
 
class  MesosAllocatorProcess
 
struct  Metrics
 
class  RandomSorter
 
class  ScalarResourceQuantities
 
class  Sorter
 

Typedefs

typedef HierarchicalAllocatorProcess< DRFSorter, DRFSorter, DRFSorterHierarchicalDRFAllocatorProcess
 
typedef MesosAllocator< HierarchicalDRFAllocatorProcessHierarchicalDRFAllocator
 
typedef HierarchicalAllocatorProcess< RandomSorter, RandomSorter, RandomSorterHierarchicalRandomAllocatorProcess
 
typedef MesosAllocator< HierarchicalRandomAllocatorProcessHierarchicalRandomAllocator
 

Functions

template<class RandomAccessIterator , class URBG >
void weightedShuffle (RandomAccessIterator begin, RandomAccessIterator end, const std::vector< double > &weights, URBG &&urbg)
 

Typedef Documentation

Function Documentation

template<class RandomAccessIterator , class URBG >
void mesos::internal::master::allocator::weightedShuffle ( RandomAccessIterator  begin,
RandomAccessIterator  end,
const std::vector< double > &  weights,
URBG &&  urbg 
)