`GraphView` for subgraphs
まだ誰も着手していません。
評価
調査の方向性
ファイルやテストは指定されていません。まず既存の induced_subgraph API と merge_vertices API を確認し、次に提案された動作を DataFrames.jl の view および Graphs.jl 2.0 に関する議論と比較してください。完了の条件は、合意された view の設計と実装範囲です。
索引モデルが issue の本文から書いたものです。
説明
I am just thinking out loud here..
Quite commonly I need to deal with subgraphs (i.e. induced_subgraph) or merged graphs (i.e. merge_vertices).
It's quite handy to have the bank ! variations (i.e. merge_vertices vs merge_vertices!), but they are not consistent across Graphs.jl. E.g. induced_subgraph doesn't have a corresponding bank version.
Sometimes I want to operate on a resulted converted graph, without losing the original but still influencing it.
It's like a combination of a bank ! and without.
This basically means having a view of the original graph.
The whole idea is very similar to the DataFrames.jl view https://dataframes.juliadata.org/stable/man/basics/#Views
That might be more relevant for Metagraphs, since graphs will carry data that can be shallow- or deep-copied.
A view, e.g., should implement shallow copying (if not by reference)
Also it might be useful for different indexing, which might enable us to get rid of the vmap property that some functions return.
I know it's a lot; I just wanted to share since now a lot of discussions are taking place for a Graphs.jl 2.0
I am still not 100% persuaded on this, but it looks to me like there could be some value.
What do you think and could you see different use cases ?
- 主要言語
- Julia
- スター
- 11
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaGraphs/GraphsBase.jl のほかの issue
-
Constructors for 2.0オープンquestion
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaGraphs/GraphsBase.jl#34 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
JuliaGraphs/GraphsBase.jl#28 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaGraphs/GraphsBase.jl#27 · コメント 1 件 · リアクション 1 件 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
JuliaGraphs/GraphsBase.jl#26 · コメント 6 件 · リアクション 2 件 ·
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
JuliaGraphs/GraphsBase.jl#25 · コメント 3 件 · リアクション 1 件 ·
JuliaGraphs/GraphsBase.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SciML/DiffEqNoiseProcess.jl#342 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oxfordcontrol/COSMO.jl#211 ·
-
documentation
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 6 日以内に返信