MDSVec.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef _MDSVec_h_
  2. #define _MDSVec_h_
  3. /* MDSVec.h
  4. *
  5. * Copyright (C) 2018 David Weenink
  6. *
  7. * This code is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * This code is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. #include "Data.h"
  21. #include "Collection.h"
  22. #include "Proximity.h"
  23. #include "MDSVec_def.h"
  24. /*
  25. An MDSVec object:
  26. contains vectors of length numberOfPoints (numberOfPoibts - 1) /2
  27. with the sorted disparities, and their corresponding row and column indices of 'numberOfPoints' objects
  28. */
  29. autoMDSVec MDSVec_create (long numberOfPoints);
  30. autoMDSVec Dissimilarity_to_MDSVec (Dissimilarity me);
  31. Collection_define (MDSVecList, OrderedOf, MDSVec) {
  32. };
  33. autoMDSVecList DissimilarityList_to_MDSVecList (DissimilarityList me);
  34. #endif /* MDSVec_def.h */