ライブラリ
- ビルトイン (559)
- bigdecimal (14)
- coverage (8)
- csv (240)
- date (24)
- fiddle (12)
- fileutils (24)
- json (108)
-
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - matrix (12)
-
net
/ http (12) - optparse (48)
- pp (24)
- prime (12)
- psych (48)
- rake (48)
-
rake
/ packagetask (12) - rbconfig (24)
-
rdoc
/ parser / ruby (12) - resolv (12)
-
rexml
/ document (84) -
ripper
/ lexer (12) -
rubygems
/ installer (12) -
rubygems
/ source _ index (12) -
rubygems
/ specification (24) -
rubygems
/ version (36) - socket (24)
- tsort (58)
- uri (24)
-
webrick
/ ssl (12) - win32ole (24)
クラス
- Array (12)
- BigDecimal (14)
- CSV (240)
- Coverage (8)
- Date (36)
- DateTime (12)
-
Encoding
:: Converter (72) - Exception (36)
-
Fiddle
:: Closure :: BlockCaller (12) -
Gem
:: Installer (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (24) -
Gem
:: Version (36) - Hash (24)
- IO (36)
- Integer (16)
-
JSON
:: Parser (12) -
JSON
:: State (24) - Matrix (12)
- Module (12)
-
Net
:: HTTPResponse (12) - OptionParser (48)
- PP (24)
-
Psych
:: Visitors :: YAMLTree (12) -
RDoc
:: Parser :: Ruby (12) -
REXML
:: Document (48) -
REXML
:: Text (12) -
Rake
:: InvocationChain (24) -
Rake
:: PackageTask (12) - Range (12)
- Regexp (60)
-
Resolv
:: DNS (12) - Ripper (12)
-
RubyVM
:: InstructionSequence (116) - SignalException (36)
- Socket (24)
- String (12)
- Struct (12)
- Thread (24)
- Time (139)
-
WEBrick
:: GenericServer (12) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (12)
モジュール
- FileUtils (24)
- JSON (60)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) - Psych (36)
-
REXML
:: Security (24) - Rake (24)
- RbConfig (24)
- TSort (58)
- URI (24)
オブジェクト
- ENV (12)
キーワード
- [] (12)
-
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - accept (12)
- append (12)
- application (12)
- application= (12)
-
asciicompat
_ encoding (24) - at (15)
- binread (12)
-
body
_ permitted? (12) - civil (12)
- clone (12)
- compile (24)
-
compile
_ file (12) -
compile
_ option (12) -
compile
_ option= (12) -
const
_ load (12) - constants (12)
- correct? (12)
- create (12)
-
create
_ id (12) -
create
_ id= (12) -
decode
_ www _ form _ component (12) - diagonal (12)
- disasm (12)
- disassemble (12)
-
double
_ fig (12) - dump (24)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
encode
_ www _ form _ component (12) -
entity
_ expansion _ limit (12) -
entity
_ expansion _ limit= (12) -
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - exception (12)
- filter (36)
- foreach (24)
-
from
_ prime _ division (12) -
from
_ state (12) -
from
_ yaml (12) - generate (12)
-
generate
_ line (12) - gm (24)
- instance (24)
-
json
_ create (96) - lex (12)
- list (12)
-
load
_ from _ binary (10) -
load
_ from _ binary _ extra _ data (10) -
load
_ specification (12) - local (24)
- mktime (24)
- new (330)
- of (12)
- open (48)
- parse (24)
-
parse
_ line (12) - parser (12)
- read (12)
- readlines (12)
- reject (12)
-
search
_ convpath (12) -
sharing
_ detection (12) -
sharing
_ detection= (12) - start (8)
- state (12)
-
strongly
_ connected _ components (12) - table (12)
- tcp (24)
-
to
_ json (12) -
try
_ convert (52) - union (12)
- utc (24)
- write (24)
検索結果
先頭5件
- RbConfig
. ruby -> String - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil - TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator - TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> ()
-
RbConfig
. ruby -> String (21118.0) -
ruby コマンドのフルパスを返します。
...
ruby コマンドのフルパスを返します。... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator (18307.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......ジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2, 3], 2=>[4], 3=>[2, 4], 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]
#......[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 (18307.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
...TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param......ジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2, 3], 2=>[4], 3=>[2, 4], 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]
#......[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 _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator (18307.0) -
node から到達可能な強連結成分についてのイテレータです。
...レータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param 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... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () (18307.0) -
node から到達可能な強連結成分についてのイテレータです。
...レータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param 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... -
TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array (18307.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
...ジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2, 3], 2=>[4], 3=>[2, 4], 4=>[]}
each_node = lambda {|&b| g.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_connected_components(each_node, each_child)
# => [[4], [2, 3], [1]]
//}
@see TSort#strongly_connected_components... -
Thread
. abort _ on _ exception -> bool (12227.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...ad#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = true
Th......read.abort_on_exception # => true
//}... -
Thread
. abort _ on _ exception=(newstate) (12227.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、インタプリタ 全体を中断させます。false の場合、あるスレッドで起こった例外は、Thread#join などで検出されない限りそのスレッドだけをなにも警告を出さずに終了させます。
...ad#exceptionを参照してください。
@param newstate スレッド実行中に例外発生した場合、インタプリタ全体を終了させるかどうかを true か false で指定します。
//emlist[例][ruby]{
Thread.abort_on_exception # => false
Thread.abort_on_exception = true
Th......read.abort_on_exception # => true
//}... -
RubyVM
:: InstructionSequence . compile _ option=(options) (12201.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。
...命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数
options で指定します。
@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は......、無効を指定します。
//emlist{
* :inline_const_cache
* :instructions_unification
* :operands_unification
* :peephole_optimization
* :specialized_instruction
* :stack_caching
* :tailcall_optimization
* :trace_instruction
//}
:debug_level をキーに指定し......compile、.compile_file メソッドの実行の際に option 引数を指定し
た場合はその実行のみ最適化オプションを変更する事もできます。
@see RubyVM::InstructionSequence.new,
RubyVM::InstructionSequence.compile,
RubyVM::InstructionSequence.compile_file...