Sha256: 10ce61139de967e59489ebafa58f00d28c0d0f45df2404b12e937da2a6cdd020
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>copy (BayesNetNode)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/bn4r/bn.rb, line 186</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">copy</span> <span class="ruby-identifier">tmp</span> = <span class="ruby-constant">BayesNetNode</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@name</span>, <span class="ruby-ivar">@outcomes</span>, <span class="ruby-ivar">@extra_info</span>) <span class="ruby-identifier">tmp</span>.<span class="ruby-identifier">set_value</span>(<span class="ruby-ivar">@value</span>) <span class="ruby-identifier">tmp</span>.<span class="ruby-identifier">set_probability_table</span>(<span class="ruby-ivar">@givens</span>, <span class="ruby-ivar">@table</span>) <span class="ruby-identifier">tmp</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bn4r-0.9.0 | doc/classes/BayesNetNode.src/M000035.html |