compare_two_paths
compute.compare_two_paths(p1, p2, rag)Compare two paths on a RAG.
It takes two paths and a region adjacency graph, and returns a list of tuples, where each tuple contains a node in the first path and a node in the second path
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| p1 | a list of tuples, each tuple is a coordinate in the path | required | |
| p2 | the path to be compared to p1 | required | |
| rag | the region adjacency graph | required |