Tulip Plugins
Public Member Functions
NodeMetric Class Reference

#include <NodeMetric.h>

List of all members.

Public Member Functions

 NodeMetric (const tlp::PropertyContext &)
bool run ()
bool check (std::string &)

Detailed Description

This plugin computes the number of nodes in the subtree induced by each node.

Note:
This algorithm assigns to each node a value defined as following : If two nodes are in the same connected component they have the same value else they have a different value.

Constructor & Destructor Documentation

NodeMetric::NodeMetric ( const tlp::PropertyContext &  context)

Member Function Documentation

bool NodeMetric::check ( std::string &  erreurMsg)
bool NodeMetric::run ( )