cluster.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef GRASS_CLUSTERDEFS_H
  2. #define GRASS_CLUSTERDEFS_H
  3. /* c_assign.c */
  4. int I_cluster_assign(struct Cluster *, int *);
  5. /* c_begin.c */
  6. int I_cluster_begin(struct Cluster *, int);
  7. /* c_clear.c */
  8. int I_cluster_clear(struct Cluster *);
  9. /* c_distinct.c */
  10. int I_cluster_distinct(struct Cluster *, double);
  11. /* c_exec.c */
  12. int I_cluster_exec(struct Cluster *, int, int, double, double, int, int (*)(),
  13. int *);
  14. /* c_execmem.c */
  15. int I_cluster_exec_allocate(struct Cluster *);
  16. int I_cluster_exec_free(struct Cluster *);
  17. /* c_means.c */
  18. int I_cluster_means(struct Cluster *);
  19. /* c_merge.c */
  20. int I_cluster_merge(struct Cluster *);
  21. /* c_nclasses.c */
  22. int I_cluster_nclasses(struct Cluster *, int);
  23. /* c_point.c */
  24. int I_cluster_point(struct Cluster *, DCELL *);
  25. int I_cluster_begin_point_set(struct Cluster *, int);
  26. int I_cluster_point_part(struct Cluster *, DCELL, int, int);
  27. int I_cluster_end_point_set(struct Cluster *, int);
  28. /* c_reassign.c */
  29. int I_cluster_reassign(struct Cluster *, int *);
  30. /* c_reclass.c */
  31. int I_cluster_reclass(struct Cluster *, int);
  32. /* c_sep.c */
  33. double I_cluster_separation(struct Cluster *, int, int);
  34. /* c_sig.c */
  35. int I_cluster_signatures(struct Cluster *);
  36. /* c_sum2.c */
  37. int I_cluster_sum2(struct Cluster *);
  38. #endif