GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-f8115df121
defs/cluster.h
Go to the documentation of this file.
1 #ifndef GRASS_CLUSTERDEFS_H
2 #define GRASS_CLUSTERDEFS_H
3 
4 /* c_assign.c */
5 int I_cluster_assign(struct Cluster *, int *);
6 
7 /* c_begin.c */
8 int I_cluster_begin(struct Cluster *, int);
9 
10 /* c_clear.c */
11 int I_cluster_clear(struct Cluster *);
12 
13 /* c_distinct.c */
14 int I_cluster_distinct(struct Cluster *, double);
15 
16 /* c_exec.c */
17 int I_cluster_exec(struct Cluster *, int, int, double, double, int,
18  int (*)(struct Cluster *, int), int *);
19 /* c_execmem.c */
20 int I_cluster_exec_allocate(struct Cluster *);
21 int I_cluster_exec_free(struct Cluster *);
22 
23 /* c_means.c */
24 int I_cluster_means(struct Cluster *);
25 
26 /* c_merge.c */
27 int I_cluster_merge(struct Cluster *);
28 
29 /* c_nclasses.c */
30 int I_cluster_nclasses(struct Cluster *, int);
31 
32 /* c_point.c */
33 int I_cluster_point(struct Cluster *, DCELL *);
34 int I_cluster_begin_point_set(struct Cluster *, int);
35 int I_cluster_point_part(struct Cluster *, DCELL, int, int);
36 int I_cluster_end_point_set(struct Cluster *, int);
37 
38 /* c_reassign.c */
39 int I_cluster_reassign(struct Cluster *, int *);
40 
41 /* c_reclass.c */
42 int I_cluster_reclass(struct Cluster *, int);
43 
44 /* c_sep.c */
45 double I_cluster_separation(struct Cluster *, int, int);
46 
47 /* c_sig.c */
48 int I_cluster_signatures(struct Cluster *);
49 
50 /* c_sum2.c */
51 int I_cluster_sum2(struct Cluster *);
52 
53 #endif
int I_cluster_end_point_set(struct Cluster *, int)
?
Definition: c_point.c:109
double I_cluster_separation(struct Cluster *, int, int)
?
Definition: c_sep.c:26
int I_cluster_signatures(struct Cluster *)
Create signatures.
Definition: c_sig.c:23
int I_cluster_clear(struct Cluster *)
Clear Cluster structure.
Definition: c_clear.c:23
int I_cluster_means(struct Cluster *)
Calculate means value.
Definition: c_means.c:24
int I_cluster_exec(struct Cluster *, int, int, double, double, int, int(*)(struct Cluster *, int), int *)
Definition: c_exec.c:32
int I_cluster_exec_allocate(struct Cluster *)
Allocate Cluster structure.
Definition: c_execmem.c:24
int I_cluster_point(struct Cluster *, DCELL *)
Adds the point x to the list of data points to be "clustered".
Definition: c_point.c:32
int I_cluster_merge(struct Cluster *)
?
Definition: c_merge.c:23
int I_cluster_reassign(struct Cluster *, int *)
?
Definition: c_reassign.c:25
int I_cluster_point_part(struct Cluster *, DCELL, int, int)
?
Definition: c_point.c:88
int I_cluster_exec_free(struct Cluster *)
Free allocated Cluster structure.
Definition: c_execmem.c:53
int I_cluster_nclasses(struct Cluster *, int)
Get number of classes.
Definition: c_nclasses.c:24
int I_cluster_sum2(struct Cluster *)
Compute sum of squares for each class.
Definition: c_sum2.c:23
int I_cluster_distinct(struct Cluster *, double)
Get distinct value.
Definition: c_distinct.c:24
int I_cluster_reclass(struct Cluster *, int)
Reclass data.
Definition: c_reclass.c:25
int I_cluster_assign(struct Cluster *, int *)
Assign cluster.
Definition: c_assign.c:26
int I_cluster_begin_point_set(struct Cluster *, int)
Begin point set.
Definition: c_point.c:71
int I_cluster_begin(struct Cluster *, int)
Initialize the cluster routines for nbands.
Definition: c_begin.c:28
double DCELL
Definition: gis.h:626
Definition: cluster.h:7