GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-44ea597914
c_nclasses.c File Reference

Cluster library - Number of classes. More...

#include <grass/cluster.h>
Include dependency graph for c_nclasses.c:

Go to the source code of this file.


int I_cluster_nclasses (struct Cluster *C, int minsize)
 Get number of classes. More...

Detailed Description

Cluster library - Number of classes.

(C) 2001-2009 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Original author CERL

Definition in file c_nclasses.c.

Function Documentation

◆ I_cluster_nclasses()

int I_cluster_nclasses ( struct Cluster C,
int  minsize 

Get number of classes.

Cpointer to Cluster structure
minsizeminimum class size
number of classes

Definition at line 24 of file c_nclasses.c.

References Cluster::count, and Cluster::nclasses.