Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
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.

Constructor & Destructor Documentation

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_type Node::tie_id ( ) const
inline
Returns
node label

Definition at line 33 of file test_FM.cpp.

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

Definition at line 35 of file test_FM.cpp.


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