Write top-level comments with ;;;
This commit is contained in:
parent
e53496f617
commit
6d02006691
1 changed files with 6 additions and 6 deletions
12
bn.rkt
12
bn.rkt
|
@ -8,14 +8,14 @@
|
||||||
;;; The variables to be updated at each step are given by the mode.
|
;;; The variables to be updated at each step are given by the mode.
|
||||||
|
|
||||||
|
|
||||||
;; A state of a Boolean network is a mapping from the variables of the
|
;;; A state of a Boolean network is a mapping from the variables of the
|
||||||
;; network to their Boolean values.
|
;;; network to their Boolean values.
|
||||||
(define-type State (HashTable Symbol Boolean))
|
(define-type State (HashTable Symbol Boolean))
|
||||||
|
|
||||||
;; An update function is a Boolean function computing a Boolean value
|
;;; An update function is a Boolean function computing a Boolean value
|
||||||
;; from the given state.
|
;;; from the given state.
|
||||||
(define-type UpdateFunc (-> State Boolean))
|
(define-type UpdateFunc (-> State Boolean))
|
||||||
|
|
||||||
;; A Boolean network is a mapping from its variables to its update
|
;;; A Boolean network is a mapping from its variables to its update
|
||||||
;; functions.
|
;;; functions.
|
||||||
(define-type Network (HashTable Symbol UpdateFunc))
|
(define-type Network (HashTable Symbol UpdateFunc))
|
||||||
|
|
Loading…
Reference in a new issue