PipeQueue yielding pipes in some random (but stable and deterministic) order. More...
#include <ogdf/cluster/sync_plan/PipeOrder.h>
Public Types | |
using | engine = std::minstd_rand |
Public Types inherited from ogdf::sync_plan::SimplePipeQueue< PipeQueueRandom > | |
using | PipesHeap = PriorityQueue< Pipe *, PipeCmpPtr< PipeQueueRandom > > |
using | PipesHeapHandle = typename PipesHeap::handle |
Public Member Functions | |
PipeQueueRandom () | |
bool | comparePipes (const Pipe *x, const Pipe *y) const |
engine::result_type | hash (const Pipe *p) const |
Public Member Functions inherited from ogdf::sync_plan::SimplePipeQueue< PipeQueueRandom > | |
SimplePipeQueue ()=default | |
SimplePipeQueue (const SimplePipeQueue ©)=delete | |
SimplePipeQueue (SimplePipeQueue &&move)=delete | |
void | addPipe (Pipe *p) override |
void | clear () override |
bool | empty () override |
Pipe * | getTop () override |
SimplePipeQueue & | operator= (const SimplePipeQueue ©)=delete |
SimplePipeQueue & | operator= (SimplePipeQueue &&move)=delete |
void | rebuild (List< Pipe > &pipes_list) override |
void | removePipe (Pipe *pipe) override |
int | size () override |
Public Member Functions inherited from ogdf::sync_plan::PipeQueue | |
virtual | ~PipeQueue ()=default |
Public Attributes | |
engine | gen |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::sync_plan::SimplePipeQueue< PipeQueueRandom > | |
std::unique_ptr< PipesHeap > | pipes_heap |
PipeQueue yielding pipes in some random (but stable and deterministic) order.
Definition at line 156 of file PipeOrder.h.
using ogdf::sync_plan::PipeQueueRandom::engine = std::minstd_rand |
Definition at line 157 of file PipeOrder.h.
|
inlineexplicit |
Definition at line 160 of file PipeOrder.h.
Definition at line 168 of file PipeOrder.h.
|
inline |
Definition at line 162 of file PipeOrder.h.
|
mutable |
Definition at line 158 of file PipeOrder.h.