LLVM API Documentation

PBQP::NodeBase< NodeImpl, EdgeImpl > Class Template Reference

Provides a base from which to derive nodes for GraphBase. More...

#include <GraphBase.h>

Inheritance diagram for PBQP::NodeBase< NodeImpl, EdgeImpl >:
[legend]
Collaboration diagram for PBQP::NodeBase< NodeImpl, EdgeImpl >:
[legend]

List of all members.

Public Types

typedef GraphBaseT::EdgeIterator EdgeIterator
typedef
ThisNodeBaseTraits::AdjEdgeIterator 
AdjEdgeIterator
typedef
ThisNodeBaseTraits::ConstAdjEdgeIterator 
ConstAdjEdgeIterator

Public Member Functions

 NodeBase (const Vector &costs)
Vector & getCosts ()
const Vector & getCosts () const
unsigned getDegree () const
void setID (unsigned id)
unsigned getID () const
AdjEdgeIterator addAdjEdge (const EdgeIterator &edgeItr)
void removeAdjEdge (const AdjEdgeIterator &adjEdgeItr)
AdjEdgeIterator adjEdgesBegin ()
ConstAdjEdgeIterator adjEdgesBegin () const
AdjEdgeIterator adjEdgesEnd ()
ConstAdjEdgeIterator adjEdgesEnd () const


Detailed Description

template<typename NodeImpl, typename EdgeImpl>
class PBQP::NodeBase< NodeImpl, EdgeImpl >

Provides a base from which to derive nodes for GraphBase.

Definition at line 472 of file GraphBase.h.


Member Typedef Documentation

template<typename NodeImpl, typename EdgeImpl>
typedef GraphBaseT::EdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::EdgeIterator

Definition at line 479 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
typedef ThisNodeBaseTraits::AdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::AdjEdgeIterator

Definition at line 494 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
typedef ThisNodeBaseTraits::ConstAdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::ConstAdjEdgeIterator

Definition at line 496 of file GraphBase.h.


Constructor & Destructor Documentation

template<typename NodeImpl, typename EdgeImpl>
PBQP::NodeBase< NodeImpl, EdgeImpl >::NodeBase ( const Vector &  costs  )  [inline]

Definition at line 498 of file GraphBase.h.


Member Function Documentation

template<typename NodeImpl, typename EdgeImpl>
Vector& PBQP::NodeBase< NodeImpl, EdgeImpl >::getCosts (  )  [inline]

Definition at line 502 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
const Vector& PBQP::NodeBase< NodeImpl, EdgeImpl >::getCosts (  )  const [inline]

Definition at line 503 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
unsigned PBQP::NodeBase< NodeImpl, EdgeImpl >::getDegree (  )  const [inline]

Definition at line 505 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
void PBQP::NodeBase< NodeImpl, EdgeImpl >::setID ( unsigned  id  )  [inline]

Definition at line 507 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
unsigned PBQP::NodeBase< NodeImpl, EdgeImpl >::getID (  )  const [inline]

Definition at line 508 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
AdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::addAdjEdge ( const EdgeIterator &  edgeItr  )  [inline]

Definition at line 510 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
void PBQP::NodeBase< NodeImpl, EdgeImpl >::removeAdjEdge ( const AdjEdgeIterator &  adjEdgeItr  )  [inline]

Definition at line 515 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
AdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::adjEdgesBegin (  )  [inline]

Definition at line 520 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
ConstAdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::adjEdgesBegin (  )  const [inline]

Definition at line 521 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
AdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::adjEdgesEnd (  )  [inline]

Definition at line 522 of file GraphBase.h.

template<typename NodeImpl, typename EdgeImpl>
ConstAdjEdgeIterator PBQP::NodeBase< NodeImpl, EdgeImpl >::adjEdgesEnd (  )  const [inline]

Definition at line 523 of file GraphBase.h.


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