//-*-c++-*- #ifndef _ARITYMETRIC_H #define _ARITYMETRIC_H #include /// ArityMetric.h - Compute the degree of each node. /** This plugin compute the degree of each node * * HISTORY: * * 04/10/2001 Verson 0.0.1: Initial release * * NOTES: * * This plug-ins exists to obtain a uniform interface in the * Tulip graph viusalization software. To access to the degree * of a node it is recommended to use directly the degree function * available in each SuperGraph. * * AUTHOR: * * David Auber University Bordeaux I France: Email:auber@tulip-software.com * * 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. * */ class ArityMetric:public Metric { public: ArityMetric(PropertyContext *); ~ArityMetric(); double getNodeValue(const node n); }; #endif