fullseye

graph_degree_preserving_shuffle — CONNGRAPH construct op

使い方

次数保存シャッフル(帰無モデル): 各ノードの入次数・出次数と重みの多重集合を保って辺を繋ぎ替える。

有向 double-edge swap(Maslov & Sneppen 2002): 辺 (a→b, w1) と (c→d, w2) を (a→d, w1) と (c→b, w2) に替える。自己結合と重複辺を作る組は捨てる。 n_swaps の既定は 10 × 辺数。二値構造の次数を保つ(重みは辺に付いて 移動するので strength は変わりうる)。対角(自己結合)は動かさずそのまま残す。 辺が 2 本未満なら複製を返す。

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(conn_graph を入力に取れる)

graph_binarize · graph_degree_table · graph_clustering_coefficient · graph_betweenness · graph_laplacian_spectrum · graph_spectral_radius · graph_components · graph_modularity

同カテゴリ(construct)

graph_from_synapses · graph_binarize


Provenance: conngraph.py — CONNGRAPH operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.