Limbo 3.5.4
Loading...
Searching...
No Matches
Node Class Reference

a class to describe graph vertex More...

Public Types

typedef char tie_id_type
typedef int weight_type

Public Member Functions

 Node (weight_type const &w, tie_id_type const &id)
tie_id_type tie_id () const
weight_type weight () const

Protected Attributes

tie_id_type m_id
 node label
weight_type m_weight
 node weight

Detailed Description

a class to describe graph vertex

Definition at line 15 of file test_FM.cpp.

Member Typedef Documentation

◆ tie_id_type

typedef char Node::tie_id_type

Definition at line 19 of file test_FM.cpp.

◆ weight_type

typedef int Node::weight_type

Definition at line 20 of file test_FM.cpp.

Constructor & Destructor Documentation

◆ Node()

Node::Node ( weight_type const & w,
tie_id_type const & id )
inline

constructor

Parameters
wnode weight
idnode label

Definition at line 26 of file test_FM.cpp.

Member Function Documentation

◆ tie_id()

tie_id_type Node::tie_id ( ) const
inline
Returns
node label

Definition at line 33 of file test_FM.cpp.

◆ weight()

weight_type Node::weight ( ) const
inline
Returns
node weight

Definition at line 35 of file test_FM.cpp.

Member Data Documentation

◆ m_id

tie_id_type Node::m_id
protected

node label

Definition at line 38 of file test_FM.cpp.

◆ m_weight

weight_type Node::m_weight
protected

node weight

Definition at line 39 of file test_FM.cpp.


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