Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterize close-node edge creation on new nodes #30

Merged
merged 9 commits into from Mar 6, 2018

Conversation

kuanb
Copy link
Owner

@kuanb kuanb commented Mar 6, 2018

When we add a 2nd (3rd, 4th...) GTFS to an existing graph, we attempt to find connections between the two systems that are close and make them low/no-cost edge connectors.

This adds a parameter to make such it optional to exempt the new nodes from this step. Typically, you would do this with schedule data as the GTFS schedule should itself have the connections built in.

BUT when building stops and edges from a "synthetic" path, we want to make sure that we also create edges between the new paths created since they will not be naturally synced with each other (or each direction, for that matter).

@kuanb kuanb changed the title Parameterize close-node edge creation on new-schedule-created nodes Parameterize close-node edge creation on new nodes Mar 6, 2018
@kuanb kuanb force-pushed the kuanb-parameterize-internal-exempt branch from 46044e6 to 0bb5420 Compare March 6, 2018 06:27
@kuanb
Copy link
Owner Author

kuanb commented Mar 6, 2018

Also note worked in some pending issues into how connector edges are created, specifically on line https://github.com/kuanb/peartree/pull/30/files#diff-a6c4e8f23a23fd98f4100282fd75c44bR84

@kuanb kuanb merged commit 762d110 into master Mar 6, 2018
@kuanb kuanb deleted the kuanb-parameterize-internal-exempt branch March 6, 2018 21:03
@coveralls
Copy link

coveralls commented Mar 7, 2018

Coverage Status

Coverage decreased (-0.07%) to 89.306% when pulling 61ad001 on kuanb-parameterize-internal-exempt into eaaecc2 on master.

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.

None yet

2 participants