GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
c_nclasses.c
Go to the documentation of this file.
1
#include <grass/cluster.h>
2
3
int
I_cluster_nclasses
(
struct
Cluster *
C
,
int
minsize)
4
{
5
int
i, n;
6
7
n = 0;
8
for
(i = 0; i < C->nclasses; i++)
9
if
(C->count[i] >= minsize)
10
n++;
11
return
n;
12
}
lib
cluster
c_nclasses.c
Generated on Thu Sep 26 2013 09:47:58 for GRASS Programmer's Manual by
1.8.4