Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

pgr_hawickUniqueCircuits: new functionality

オープン
#3,171 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, postgresql

調査の方向性

Read the plan in #3170 and compare the requested behavior with Boost's hawick_unique_circuits and hawick_circuits functionality. The issue does not name implementation files or tests, so first locate the existing Hawick circuits entry point and its tests. Done means adding pgr_hawickUniqueCircuits with canonical circuit handling and the listed optional filters.

索引モデルが issue の本文から書いたものです。

説明

circuits Functionality Request

pgr_hawickUniqueCircuits: new functionality

Boost has

  • boost::hawick_unique_circuits
  • boost::hawick_circuits

The function name match the equivalent functionality that boost::hawick_unique_circuits offers.
(provided previously by the wrongly named boost::hawick_circuits

Given that we base the code on boost we need to provide the equivalent functionality:

  • Privode all the canonical circuits, excluding the duplicate ones due to parallel edges.

Additionally we can add new parameters to limit the output:

  • start_vid and start_vids to list all circuits where the vertices participate on.
  • min_depth and max_depth to limit the size of the circuits. (canonical or vertex oriented)
  • self_loops boolean to include or not the self loops regardless of the depth limits
  • u_turn_on_edge boolean to have
    • when true 2 edge u turns using the same edge or
    • when false whenever possible get 2 edge u turns that do not use the same edge: if not possible 2 edge u turns using the same edge will be used.

Plan:

  • #3170
  • Create pgr_hawickUniqueCircuits to match:
    • the equivalent functionality that boost offers with the function name.
主要言語
C++
スター
1.4k
フォーク
397
平均マージ
2日 2時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pgRouting/pgrouting のほかの issue

pgRouting/pgrouting の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。