123件ヒット
[101-123件を表示]
(0.006秒)
ライブラリ
- ビルトイン (6)
- prettyprint (24)
- tsort (93)
クラス
- PrettyPrint (24)
キーワード
- [] (6)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - format (12)
-
singleline
_ format (12) -
strongly
_ connected _ components (12) - tsort (12)
-
tsort
_ each (23)
検索結果
先頭3件
-
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator (7.0) -
node から到達可能な強連結成分についてのイテレータです。
...持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
graph = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_child = lambda {|n, &b| graph[n].each(&b) }
TSort.each_strongly_connected_component_from(1, each_child) {|scc|
p scc
}
# => [4]
# [2, 3]
# [1]
//}
@see... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () (7.0) -
node から到達可能な強連結成分についてのイテレータです。
...持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
graph = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_child = lambda {|n, &b| graph[n].each(&b) }
TSort.each_strongly_connected_component_from(1, each_child) {|scc|
p scc
}
# => [4]
# [2, 3]
# [1]
//}
@see... -
Warning
. [](category) -> bool (7.0) -
...category は以下の通りです。
: :deprecated
非推奨の警告。
例: nil ではない値を $, や $; に設定する、キーワード引数、ブロックなしで proc / lambda を呼び出す、等
: :experimental
実験的な機能。
例: パターンマッチング......:deprecated
非推奨の警告。
例: nil ではない値を $, や $; に設定する、キーワード引数、ブロックなしで proc / lambda を呼び出す、等
: :experimental
実験的な機能。
例: パターンマッチング
: :performance
パフォーマンスに...