Guest User

Untitled

a guest
Nov 17th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. ./ripser examples/random16.lower_distance_matrix
  2.  
  3. distance matrix with 15 points
  4. value range: [1,120]
  5. persistence intervals in dim 0:
  6. [0,1)
  7. [0,2)
  8. [0,4)
  9. [0,5)
  10. [0,6)
  11. [0,7)
  12. [0,8)
  13. [0,9)
  14. [0,10)
  15. [0,11)
  16. [0,12)
  17. [0,14)
  18. [0,15)
  19. [0,35)
  20. [0, )
  21. persistence intervals in dim 1:
  22. [54,56)
  23. [43,45)
  24. [37,51)
  25. [27,56)
  26. [22,52)
  27. [21,52)
  28. [20,59)
  29. [19,62)
  30. [18,62)
  31. [17,60)
  32. [16,33)
  33.  
  34. l. 639 std::cout << " [" << diameter << ", )" << std::endl << std::flush;
  35. l. 651 std::cout << " [" << diameter << "," << death << ")" << std::endl << std::flush;
  36. l. 929 if (get_diameter(e) > 0) std::cout << " [0," << get_diameter(e) << ")" << std::endl;
  37. l. 939 if (dset.find(i) == i) std::cout << " [0, )" << std::endl << std::flush;
  38.  
  39. #ifdef PRINT_PERSISTENCE_PAIRS
  40. for (index_t i = 0; i < n; ++i)
  41. if (dset.find(i) == i) std::cout << " [0, )" << std::endl << std::flush;
  42. #endif
  43.  
  44. //! [write to file]
  45. FILE * fp;
  46. fp = fopen ("./output", "a+");
  47. fprintf(fp, "0 0 -1n");
  48. fclose(fp);
  49.  
  50. #ifdef PRINT_PERSISTENCE_PAIRS
  51. for (index_t i = 0; i < n; ++i)
  52. if (dset.find(i) == i)
  53. std::cout << " [0, )" << std::endl << std::flush;
  54. //! [write to file]
  55. FILE * fp;
  56. fp = fopen ("./output", "a+");
  57. fprintf(fp, "0 0 -1n"); // works only for i=0
  58. fclose(fp);
  59. #endif
  60.  
  61. 0 0 1.013644
  62. 0 0 2.838865
  63. 0 0 3.131685
  64. 0 0 4.077876
  65. 0 0 4.725016
  66. 0 0 4.818406
  67. 0 0 4.924389
  68. 0 0 -1
Add Comment
Please, Sign In to add comment