---
name: "NodeMetric"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/NodeMetric"
---

# NodeMetric(3tulip)

NodeMetric.h - Compute the number of nodes in the subtree induced by each node.

## NAME

NodeMetric -

**NodeMetric.h** - Compute the number of nodes in the subtree induced by each node.

## SYNOPSIS

`#include <NodeMetric.h>`

### Public Member Functions

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

## Detailed Description

**NodeMetric.h** - Compute the number of nodes in the subtree induced by each node.

Computes the number of nodes in the subtree induced by each node.

**HISTORY**

- •

  20/08/2001 Verson 0.0.1: Initial release

**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.

**Author:**

David Auber University Bordeaux I France: Email:auber@tulip-software.org

**LICENCE**

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

## Constructor & Destructor Documentation

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

## Member Function Documentation

### bool NodeMetric::check (std::string &)

### bool NodeMetric::run ()

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
