Skip to content

Conversation

@mahmsakr
Copy link
Contributor

@mahmsakr mahmsakr commented May 28, 2020

Fixes #1359 .

Changes proposed in this pull request:

  • gpr_dijkstra combination_sql signature
  • documentation of the new function
  • developer names

@pgRouting/admins

mahmsakr added 29 commits May 18, 2020 20:10
@cvvergara cvvergara changed the title Closes #1359 [WIP] Closes #1359 May 31, 2020
@cvvergara cvvergara self-requested a review May 31, 2020 16:38
@mahmsakr mahmsakr changed the title [WIP] Closes #1359 Closes #1359 May 31, 2020
@mahmsakr mahmsakr changed the title Closes #1359 Closes #1359 Adding pgr_dijkstra(combinations) Jun 1, 2020
@mahmsakr mahmsakr requested a review from cvvergara June 1, 2020 15:34
@prakashupes prakashupes self-requested a review June 1, 2020 15:36
@rajhim2 rajhim2 self-requested a review June 1, 2020 15:36
@cvvergara cvvergara added this to the Release 3.1.0 milestone Jun 1, 2020
@cvvergara cvvergara merged commit 04fb4ba into pgRouting:develop Jun 1, 2020
@cvvergara
Copy link
Member

@mahmsakr Thanks for your contribution to pgRouting

@dkastl
Copy link
Member

dkastl commented Jun 2, 2020

What is the difference between the new combinations SQL and the many-to-many?

Isn't many-to-many or other signatures possible to be used as combinations?

@mahmsakr
Copy link
Contributor Author

mahmsakr commented Jun 2, 2020 via email

@dkastl
Copy link
Member

dkastl commented Jun 2, 2020

@mahmsakr , thanks! Then I understand it right.

I was wondering if the new signature doesn't allow us to remove other signatures then, because they could be just special cases of the combinations SQL.

For example a distance matrix matrix of two source and target pairs could be written as 4 combinations. Even a standard A -> B route would be a case that consists of just one combination.

So instead of maintaining several signatures we could use the new signature as default, and there could be some helper functions for example to turn a many-to-many matrix into combinations.

@mahmsakr
Copy link
Contributor Author

mahmsakr commented Jun 3, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants