# NOT RUN {
# point matching on networks
x = generateRandomNetwork(n.points = 20L, upper = 100)
y = generateClusteredNetwork(n.points = 20L, n.cluster = 2L, upper = 100)
# }
# NOT RUN {
pm = getOptimalPointMatching(x$coordinates, y$coordinates)
print(visualizePointMatching(x, y, pm, highlight.longest = 2L))
# }
# NOT RUN {
# point matching on point clouds
x = matrix(runif(20L), 2L)
y = matrix(runif(20L), 2L)
# }
# NOT RUN {
pm = getOptimalPointMatching(x, y)
print(visualizePointMatching(x, y, pm))
# }
Run the code above in your browser using DataLab