GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
}
I_cluster_nclasses
int I_cluster_nclasses(struct Cluster *C, int minsize)
Definition:
c_nclasses.c:3
C
#define C
Definition:
intr_char.c:17
n
int n
Definition:
dataquad.c:291
lib
cluster
c_nclasses.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5