cheshirekow  v0.1.0
mpblocks::clarkson93::Indexed< Index_t, Value_t > Struct Template Reference

priority queue node More...

#include <mpblocks/clarkson93/Indexed.h>

Classes

struct  Greater
 
struct  Less
 

Public Types

typedef Indexed< Index_t, Value_t > This
 

Public Member Functions

 Indexed ()
 
 Indexed (Index_t idx, Value_t val)
 

Static Public Member Functions

static bool greaterThan (const This &a, const This &b)
 
static bool lessThan (const This &a, const This &b)
 

Public Attributes

Index_t idx
 
Value_t val
 

Detailed Description

template<typename Index_t, typename Value_t>
struct mpblocks::clarkson93::Indexed< Index_t, Value_t >

priority queue node

Definition at line 38 of file Indexed.h.

Member Typedef Documentation

template<typename Index_t, typename Value_t>
typedef Indexed<Index_t,Value_t> mpblocks::clarkson93::Indexed< Index_t, Value_t >::This

Definition at line 40 of file Indexed.h.

Constructor & Destructor Documentation

template<typename Index_t, typename Value_t>
mpblocks::clarkson93::Indexed< Index_t, Value_t >::Indexed ( )
inline

Definition at line 45 of file Indexed.h.

template<typename Index_t, typename Value_t>
mpblocks::clarkson93::Indexed< Index_t, Value_t >::Indexed ( Index_t  idx,
Value_t  val 
)
inline

Definition at line 46 of file Indexed.h.

Member Function Documentation

template<typename Index_t, typename Value_t>
static bool mpblocks::clarkson93::Indexed< Index_t, Value_t >::greaterThan ( const This a,
const This b 
)
inlinestatic

Definition at line 63 of file Indexed.h.

template<typename Index_t, typename Value_t>
static bool mpblocks::clarkson93::Indexed< Index_t, Value_t >::lessThan ( const This a,
const This b 
)
inlinestatic

Definition at line 48 of file Indexed.h.

Member Data Documentation

template<typename Index_t, typename Value_t>
Index_t mpblocks::clarkson93::Indexed< Index_t, Value_t >::idx

Definition at line 42 of file Indexed.h.

template<typename Index_t, typename Value_t>
Value_t mpblocks::clarkson93::Indexed< Index_t, Value_t >::val

Definition at line 43 of file Indexed.h.


The documentation for this struct was generated from the following file: