example: Explain setting network variables to constants.
This commit is contained in:
parent
07e1a73b50
commit
f005d77516
1 changed files with 4 additions and 0 deletions
|
@ -325,6 +325,10 @@ tab
|
|||
| b | (and (not a) c) |
|
||||
| c | (not c) |
|
||||
|
||||
Note that if you define the formula of a as 0, it will set a to 1,
|
||||
because 0 is not #f. For example, =(if 0 1 2)= evaluates to 1, and
|
||||
not to 2.
|
||||
|
||||
Here's the unsigned interaction graph of this network:
|
||||
#+NAME: simple-bn-ig
|
||||
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
||||
|
|
Loading…
Reference in a new issue