possibility of selecting round trip only on internal roads, and do not force a round path over boundary

Open
#1,202 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
postgresql
Domain
databases

Research direction

The issue is about the Chinese Postman Problem (ChPP) function in pgRouting. Look at the source code for the ChPP implementation, likely in src/chinesePostman/. Understand how boundary edges are handled versus internal roads. The user wants to avoid forcing a round path over boundary roads. Examine the graph data structure and the algorithm's edge selection logic. A test with the provided screenshot scenario would help verify any changes.

Written by the indexing model from the issue text.

Description

Discussion

Hi, i was testing the ChPP function, its great, and works well! congrats!

i want to ask if maybe there's a possibility of selecting round trip only on internal roads, and do not force a round path over boundary,

example:
Screenshot from 2019-05-15 01-51-06

Maybe if i could select to complete the sequence, every edge in a graph and starts and ends on the same node, but avoid using return (2 way paths) at boundarys, only on inside internal roads.

Thanks!

Dominant language
C++
Stars
1.4k
Forks
397
Avg merge
2d 16h
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pgRouting/pgrouting

All issues in pgRouting/pgrouting

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.