SourceForge Logo
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor

H. de Fraysseix      P. Ossona de Mendez

Classifier Struct Reference

Collaboration diagram for Classifier:

Collaboration graph
[legend]

List of all members.


Detailed Description

Class used to spread vertices in classes.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

Classifier ( int  n,
int  noc 
) [inline]

Constructor.

Parameters:
n Number of vertices
noc Number of classes


Member Function Documentation

void clear (  )  [inline]

Clear the partition.

void affect ( int  i,
int  c 
) [inline]

Affects a vertex to a class.

Parameters:
i Vertex index
c Class index


Member Data Documentation

svector<int> Class

Classes ($ V\rightarrow [1,{\rm noc}]$ mapping).

svector<int> Cardinal

Cardinal of the classes.


Generated on Thu Jan 31 16:51:40 2008 for Pigale by  doxygen 1.5.4