Tulip Plugins
Public Member Functions
LeafMetric Class Reference

#include <LeafMetric.h>

List of all members.

Public Member Functions

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

Detailed Description

This plugin computes the number of leaves 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

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

Member Function Documentation

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