ライブラリ
- ビルトイン (43)
-
cgi
/ core (60) -
cgi
/ session (36) - csv (3)
- date (4)
- dbm (12)
- gdbm (12)
- json (72)
- openssl (144)
-
rubygems
/ config _ file (36) -
rubygems
/ security (24) -
rubygems
/ specification (24) - sdbm (12)
- socket (12)
- tsort (93)
-
webrick
/ httpresponse (12) -
win32
/ registry (420) -
yaml
/ dbm (12)
クラス
-
CGI
:: Session (36) -
CSV
:: Row (3) - DBM (12)
- Data (3)
- Date (2)
- DateTime (2)
- GDBM (12)
-
Gem
:: ConfigFile (36) -
Gem
:: Specification (24) - Hash (12)
-
JSON
:: Parser (24) -
JSON
:: State (48) - MatchData (2)
- Module (12)
-
OpenSSL
:: Config (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: PKey :: EC :: Group (24) -
OpenSSL
:: PKey :: EC :: Point (12) -
OpenSSL
:: PKey :: RSA (48) -
OpenSSL
:: SSL :: SSLContext (36) - Proc (6)
- SDBM (12)
- Struct (6)
- Time (2)
-
WEBrick
:: HTTPResponse (12) -
Win32
:: Registry (120) -
YAML
:: DBM (12)
モジュール
-
CGI
:: QueryExtension (60) -
Gem
:: Security (24) -
Socket
:: Constants (12) - TSort (93)
-
Win32
:: Registry :: Constants (300)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
HKEY
_ CLASSES _ ROOT (12) -
HKEY
_ CURRENT _ CONFIG (24) -
HKEY
_ CURRENT _ USER (12) -
HKEY
_ DYN _ DATA (12) -
HKEY
_ LOCAL _ MACHINE (12) -
HKEY
_ PERFORMANCE _ DATA (12) -
HKEY
_ PERFORMANCE _ NLSTEXT (12) -
HKEY
_ PERFORMANCE _ TEXT (12) -
HKEY
_ USERS (12) -
KEY
_ ALL _ ACCESS (12) -
KEY
_ CREATE _ LINK (12) -
KEY
_ CREATE _ SUB _ KEY (12) -
KEY
_ ENUMERATE _ SUB _ KEYS (12) -
KEY
_ EXECUTE (12) -
KEY
_ NOTIFY (12) -
KEY
_ QUERY _ VALUE (12) -
KEY
_ READ (12) -
KEY
_ SET _ VALUE (12) -
KEY
_ WRITE (12) -
MAX
_ KEY _ LENGTH (12) -
MAX
_ VALUE _ LENGTH (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
PF
_ KEY (12) -
REG
_ CREATED _ NEW _ KEY (12) -
REG
_ OPENED _ EXISTING _ KEY (12) -
STANDARD
_ RIGHTS _ READ (12) -
STANDARD
_ RIGHTS _ WRITE (12) - [] (36)
- []= (24)
-
autoload
_ i (12) -
build
_ cert (12) - cgi (12)
- configure (12)
- create (36)
-
deconstruct
_ keys (20) - disposition (12)
- each (36)
-
each
_ strongly _ connected _ component (46) -
each
_ strongly _ connected _ component _ from (23) - fetch (48)
- generate (24)
-
has
_ key? (12) - include? (12)
- indent (12)
- indent= (12)
- key= (12)
- key? (12)
- keys (12)
- merge (12)
- new (84)
-
on
_ curve? (12) - open (36)
- parse (12)
-
point
_ conversion _ form (12) -
point
_ conversion _ form= (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby2
_ keywords (18) -
set
_ params (12) - sign (12)
-
sign
_ cert (12) -
signing
_ key (12) -
signing
_ key= (12) -
strongly
_ connected _ components (24) - tsort (12)
検索結果
先頭5件
- OpenSSL
:: SSL :: SSLContext # key -> OpenSSL :: PKey :: PKey | nil - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil - TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array - TSort
# each _ strongly _ connected _ component -> Enumerator
-
OpenSSL
:: SSL :: SSLContext # key -> OpenSSL :: PKey :: PKey | nil (21307.0) -
OpenSSL::SSL::SSLContext#cert で得られる自分自身を証明するための 証明書の公開鍵に対応する秘密鍵を返します。
...OpenSSL::SSL::SSLContext#cert で得られる自分自身を証明するための
証明書の公開鍵に対応する秘密鍵を返します。
@see OpenSSL::SSL::SSLContext#key=... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator (18312.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2]
# [3]
# [1]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda......{|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil (18312.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2]
# [3]
# [1]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda......{|n, &b| g[n].each(&b) }
TSort.each_strongly_connected_component(each_node, each_child) {|scc| p scc }
# => [4]
# [2, 3]
# [1]
//}
@see TSort#each_strongly_connected_component... -
TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array (18312.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
....each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
p TSort.strongly_connected_components(each_node, each_child)
# => [[4], [2], [3], [1]]
g = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
p TSort.strongly_connecte......d_components(each_node, each_child)
# => [[4], [2, 3], [1]]
//}
@see TSort#strongly_connected_components... -
TSort
# each _ strongly _ connected _ component -> Enumerator (18306.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。......each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.e......ach_strongly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component... -
TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil (18306.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。......each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.e......ach_strongly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (18306.0) -
node から到達可能な強連結成分についてのイテレータです。
...ません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child......(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}......}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (18306.0) -
node から到達可能な強連結成分についてのイテレータです。
...ません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child......(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}......}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
TSort
# strongly _ connected _ components -> Array (18306.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
...rt'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
p non_sort.strongly_connected_components
#=> [[4], [2, 3], [1]]
//}
@see TSort.strongly_connected_components...