Message Boards Message Boards

0
|
1918 Views
|
4 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Generating Vietoris - Rips complex

Posted 1 year ago

I know that Mathematica has built-in functions for creating triangulations such as Delaunay and Voronoi. However, I haven't found a function that would generate a Vietoris - Rips Complex for a finite number of points (xi,yi) in R^2. I don't know how to write such a function myself. I would be very thankful if anyone has any idea!

POSTED BY: S. Bwu
4 Replies
Posted 1 year ago

I did not manage to incorporate the Vietoris-Rips with the PersistentHomology WFR, however, after reading the following article, I figured I could use the NearestNeighbor function to build something that works like Vietoris-Rips.

Manipulate[
 NearestNeighborGraph[positions, k], {k, 1, 1, 1}]

Make sure to set positions as your set of {x,y} coordinates. Sadly, the functions does not work if I'm using too many coordinates, but that might be on my hardware. The function also only works using whole numbers.

POSTED BY: Isabela Rocha
Posted 1 year ago

I'm also interested, in case anyone codes a vietoris-rips function!

POSTED BY: Isabela Rocha

Maybe you could adapt code from this WFR function?

POSTED BY: Daniel Lichtblau
Posted 1 year ago

Thanks. I found the part in this WFR function that uses Rips complexes, but I've been pretty stuck trying to make it a stand alone code for only Rips complexes. I find it a bit complicated since I'm new to mathematica.

POSTED BY: S. Bwu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract