Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./ripser examples/random16.lower_distance_matrix
- distance matrix with 15 points
- value range: [1,120]
- persistence intervals in dim 0:
- [0,1)
- [0,2)
- [0,4)
- [0,5)
- [0,6)
- [0,7)
- [0,8)
- [0,9)
- [0,10)
- [0,11)
- [0,12)
- [0,14)
- [0,15)
- [0,35)
- [0, )
- persistence intervals in dim 1:
- [54,56)
- [43,45)
- [37,51)
- [27,56)
- [22,52)
- [21,52)
- [20,59)
- [19,62)
- [18,62)
- [17,60)
- [16,33)
- l. 639 std::cout << " [" << diameter << ", )" << std::endl << std::flush;
- l. 651 std::cout << " [" << diameter << "," << death << ")" << std::endl << std::flush;
- l. 929 if (get_diameter(e) > 0) std::cout << " [0," << get_diameter(e) << ")" << std::endl;
- l. 939 if (dset.find(i) == i) std::cout << " [0, )" << std::endl << std::flush;
- #ifdef PRINT_PERSISTENCE_PAIRS
- for (index_t i = 0; i < n; ++i)
- if (dset.find(i) == i) std::cout << " [0, )" << std::endl << std::flush;
- #endif
- //! [write to file]
- FILE * fp;
- fp = fopen ("./output", "a+");
- fprintf(fp, "0 0 -1n");
- fclose(fp);
- #ifdef PRINT_PERSISTENCE_PAIRS
- for (index_t i = 0; i < n; ++i)
- if (dset.find(i) == i)
- std::cout << " [0, )" << std::endl << std::flush;
- //! [write to file]
- FILE * fp;
- fp = fopen ("./output", "a+");
- fprintf(fp, "0 0 -1n"); // works only for i=0
- fclose(fp);
- #endif
- 0 0 1.013644
- 0 0 2.838865
- 0 0 3.131685
- 0 0 4.077876
- 0 0 4.725016
- 0 0 4.818406
- 0 0 4.924389
- 0 0 -1
Add Comment
Please, Sign In to add comment