cartesian 0.6.0 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/History.txt +6 -0
  2. data/Manifest.txt +13 -35
  3. data/Rakefile +19 -3
  4. data/{lib → etc}/recursive.rb +0 -0
  5. data/index.html +7 -0
  6. data/lib/cartesian.rb +1 -1
  7. data/script/txt2html +4 -2
  8. data/website/doc/Array.html +172 -0
  9. data/website/doc/Cartesian.html +638 -0
  10. data/website/doc/CartesianIterator.html +672 -0
  11. data/website/doc/Enumerable.html +158 -0
  12. data/website/doc/GridSearch.html +292 -0
  13. data/website/doc/Iterable.html +306 -0
  14. data/website/doc/README_rdoc.html +220 -0
  15. data/website/doc/created.rid +4 -4
  16. data/website/doc/lib/cartesian_iterator_rb.html +52 -0
  17. data/website/doc/lib/cartesian_rb.html +56 -0
  18. data/website/doc/lib/grid_search_rb.html +52 -0
  19. data/website/doc/rdoc.css +706 -0
  20. data/website/index.html +3 -3
  21. data/website/template.html.erb +1 -1
  22. metadata +15 -37
  23. data/website/doc/classes/Array.html +0 -128
  24. data/website/doc/classes/Cartesian.html +0 -398
  25. data/website/doc/classes/Cartesian.src/M000020.html +0 -18
  26. data/website/doc/classes/Cartesian.src/M000021.html +0 -18
  27. data/website/doc/classes/Cartesian.src/M000022.html +0 -18
  28. data/website/doc/classes/Cartesian.src/M000023.html +0 -23
  29. data/website/doc/classes/Cartesian.src/M000026.html +0 -23
  30. data/website/doc/classes/Cartesian.src/M000027.html +0 -30
  31. data/website/doc/classes/CartesianIterator.html +0 -326
  32. data/website/doc/classes/CartesianIterator.src/M000001.html +0 -21
  33. data/website/doc/classes/CartesianIterator.src/M000002.html +0 -18
  34. data/website/doc/classes/CartesianIterator.src/M000003.html +0 -21
  35. data/website/doc/classes/CartesianIterator.src/M000005.html +0 -20
  36. data/website/doc/classes/CartesianIterator.src/M000008.html +0 -20
  37. data/website/doc/classes/CartesianIterator.src/M000009.html +0 -19
  38. data/website/doc/classes/CartesianIterator.src/M000012.html +0 -19
  39. data/website/doc/classes/CartesianIterator.src/M000013.html +0 -39
  40. data/website/doc/classes/Enumerable.html +0 -112
  41. data/website/doc/classes/GridSearch.html +0 -160
  42. data/website/doc/classes/GridSearch.src/M000014.html +0 -18
  43. data/website/doc/classes/GridSearch.src/M000015.html +0 -18
  44. data/website/doc/classes/Iterable.html +0 -176
  45. data/website/doc/classes/Iterable.src/M000016.html +0 -19
  46. data/website/doc/classes/Iterable.src/M000017.html +0 -19
  47. data/website/doc/classes/Iterable.src/M000018.html +0 -18
  48. data/website/doc/classes/Iterable.src/M000019.html +0 -18
  49. data/website/doc/classes/Range.html +0 -118
  50. data/website/doc/files/cartesian_iterator_rb.html +0 -101
  51. data/website/doc/files/cartesian_rb.html +0 -108
  52. data/website/doc/files/grid_search_rb.html +0 -101
  53. data/website/doc/fr_class_index.html +0 -33
  54. data/website/doc/fr_file_index.html +0 -29
  55. data/website/doc/fr_method_index.html +0 -54
  56. data/website/doc/rdoc-style.css +0 -208
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>argmax (GridSearch)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File grid_search.rb, line 6</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">argmax</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">argbest</span>(<span class="ruby-identifier">:&gt;</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>argmin (GridSearch)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File grid_search.rb, line 13</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">argmin</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">argbest</span>(<span class="ruby-identifier">:&lt;</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,176 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Iterable</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Iterable</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/cartesian_iterator_rb.html">
59
- cartesian_iterator.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
- <div id="method-list">
80
- <h3 class="section-bar">Methods</h3>
81
-
82
- <div class="name-list">
83
- <a href="#M000017">next</a>&nbsp;&nbsp;
84
- <a href="#M000018">raw_next</a>&nbsp;&nbsp;
85
- <a href="#M000016">restart</a>&nbsp;&nbsp;
86
- <a href="#M000019">restart_and_raw_next</a>&nbsp;&nbsp;
87
- </div>
88
- </div>
89
-
90
- </div>
91
-
92
-
93
- <!-- if includes -->
94
-
95
- <div id="section">
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
- <!-- if method_list -->
105
- <div id="methods">
106
- <h3 class="section-bar">Public Instance methods</h3>
107
-
108
- <div id="method-M000017" class="method-detail">
109
- <a name="M000017"></a>
110
-
111
- <div class="method-heading">
112
- <a href="Iterable.src/M000017.html" target="Code" class="method-signature"
113
- onclick="popupCode('Iterable.src/M000017.html');return false;">
114
- <span class="method-name">next</span><span class="method-args">()</span>
115
- </a>
116
- </div>
117
-
118
- <div class="method-description">
119
- </div>
120
- </div>
121
-
122
- <div id="method-M000018" class="method-detail">
123
- <a name="M000018"></a>
124
-
125
- <div class="method-heading">
126
- <a href="Iterable.src/M000018.html" target="Code" class="method-signature"
127
- onclick="popupCode('Iterable.src/M000018.html');return false;">
128
- <span class="method-name">raw_next</span><span class="method-args">()</span>
129
- </a>
130
- </div>
131
-
132
- <div class="method-description">
133
- </div>
134
- </div>
135
-
136
- <div id="method-M000016" class="method-detail">
137
- <a name="M000016"></a>
138
-
139
- <div class="method-heading">
140
- <a href="Iterable.src/M000016.html" target="Code" class="method-signature"
141
- onclick="popupCode('Iterable.src/M000016.html');return false;">
142
- <span class="method-name">restart</span><span class="method-args">()</span>
143
- </a>
144
- </div>
145
-
146
- <div class="method-description">
147
- </div>
148
- </div>
149
-
150
- <div id="method-M000019" class="method-detail">
151
- <a name="M000019"></a>
152
-
153
- <div class="method-heading">
154
- <a href="Iterable.src/M000019.html" target="Code" class="method-signature"
155
- onclick="popupCode('Iterable.src/M000019.html');return false;">
156
- <span class="method-name">restart_and_raw_next</span><span class="method-args">()</span>
157
- </a>
158
- </div>
159
-
160
- <div class="method-description">
161
- </div>
162
- </div>
163
-
164
-
165
- </div>
166
-
167
-
168
- </div>
169
-
170
-
171
- <div id="validator-badges">
172
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
173
- </div>
174
-
175
- </body>
176
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>restart (Iterable)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File cartesian_iterator.rb, line 78</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restart</span>
15
- <span class="ruby-ivar">@next_index</span> = <span class="ruby-value">-1</span>
16
- <span class="ruby-keyword kw">true</span>
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>next (Iterable)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File cartesian_iterator.rb, line 83</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">next</span>
15
- <span class="ruby-identifier">restart</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@next_index</span>
16
- <span class="ruby-identifier">raw_next</span>
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>raw_next (Iterable)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File cartesian_iterator.rb, line 88</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raw_next</span>
15
- <span class="ruby-keyword kw">self</span>[<span class="ruby-ivar">@next_index</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>]
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>restart_and_raw_next (Iterable)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File cartesian_iterator.rb, line 92</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restart_and_raw_next</span>
15
- <span class="ruby-keyword kw">self</span>[<span class="ruby-ivar">@next_index</span> = <span class="ruby-value">0</span>]
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,118 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Range</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Range</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/cartesian_rb.html">
59
- cartesian.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
- <div id="includes">
91
- <h3 class="section-bar">Included Modules</h3>
92
-
93
- <div id="includes-list">
94
- <span class="include-name"><a href="Cartesian.html">Cartesian</a></span>
95
- </div>
96
- </div>
97
-
98
- <div id="section">
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
- <!-- if method_list -->
108
-
109
-
110
- </div>
111
-
112
-
113
- <div id="validator-badges">
114
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
115
- </div>
116
-
117
- </body>
118
- </html>
@@ -1,101 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: cartesian_iterator.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>cartesian_iterator.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>cartesian_iterator.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Tue Jan 04 03:45:05 -0200 2011</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <!-- if method_list -->
91
-
92
-
93
- </div>
94
-
95
-
96
- <div id="validator-badges">
97
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
- </div>
99
-
100
- </body>
101
- </html>