Sha256: 9bf4aad17cb1f41def429c6ccb8ef0cb484cf105aab1ae3ae3978fa40fe9075d
Contents?: true
Size: 263 Bytes
Versions: 2
Compression:
Stored size: 263 Bytes
Contents
# frozen_string_literal: true require "bayesnet/graph" module Bayesnet # Bayesnet::DSL.define ... module DSL def define(&block) graph = Graph.new graph.instance_eval(&block) if block graph.resolve_factors graph end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bayesnet-0.6.0 | lib/bayesnet/dsl.rb |
bayesnet-0.1.0 | lib/bayesnet/dsl.rb |