Make networks fully Typed Racket, throwing away the TBN/SBN part.

This commit is contained in:
Sergiu Ivanov 2023-03-26 22:53:27 +02:00
parent 507f7a28f7
commit aa278215ed
2 changed files with 1005 additions and 2305 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
graph
(only-in typed/graph Graph)
(only-in racket/class send)
(submod "../networks.rkt" typed)
"../networks.rkt"
"../utils.rkt"
"../functions.rkt"
"../dynamics.rkt"))
@ -13,7 +13,7 @@
(parameterize ([sandbox-output 'string]
[sandbox-error-output 'string]
[sandbox-memory-limit 50])
(make-evaluator 'typed/racket #:requires '((submod "networks.rkt" typed)))))
(make-evaluator 'typed/racket #:requires '("networks.rkt"))))
@(define-syntax-rule (ex . args)
(examples #:eval networks-evaluator . args))
@ -26,7 +26,7 @@
@title[#:tag "networks"]{dds/networks: Formal Dynamical Networks}
@defmodule[(submod dds/networks typed)]
@defmodule[dds/networks]
This module provides definitions for and analysing network models. A network
is a set of variables which are updated according to their corresponding update
@ -944,8 +944,3 @@ to @tt{xk}, where @italic{k = n - 1}.
@ex[
(tabulate-network+headers (random-boolean-network/n 3))
]}
@section{TBF/TBN and SBF/SBN}
This section defines threshold Boolean functions (TBF) and networks (TBN), as
well as sign Boolean functions (SBF) and networks (SBN).