PANDORE Version 6 GREYC-IMAGE

pgraphneighbours



Valuates nodes with the number of neighbours.



Synopsis

pgraphneighbours [gr_in|-] [gr_out|-]

Description

pgraphneighbours sets every node value with the number of its neighbors. The structure of the output graph gr_out keeps the same structure than the input graph gr_in.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

   pgraphneighbors g1.pan g2.pan

See also

Graph

C++ prototype

Errc PGraphNeighbours( const Graph &gr_in, Graph &gr_out );

Version française

Valuation des sommets d'un graphe avec le nombre de sommets voisins.


Author: François Angot