cellWeighted.h 664 B

12345678910111213141516171819202122232425
  1. /*
  2. * AUTHOR: Serena Pallecchi student of Computer Science University of Pisa (Italy)
  3. * Commission from Faunalia Pontedera (PI) www.faunalia.it
  4. *
  5. * This program is free software under the GPL (>=v2)
  6. * Read the COPYING file that comes with GRASS for details.
  7. *
  8. */
  9. #include "../r.li.daemon/GenericCell.h"
  10. typedef struct CoppiaPesata
  11. {
  12. generic_cell c1;
  13. generic_cell c2;
  14. double d;
  15. long e;
  16. } CoppiaPesata;
  17. typedef CoppiaPesata *Coppie;
  18. int addCoppia(Coppie * cc, generic_cell c1, generic_cell c2, double p,
  19. long tc, long *siz);
  20. int updateCoppia(Coppie * cc, generic_cell c1, generic_cell c2, long tc);