module Protein: sig end
Protein.Abstract
that
can be used as the simplest useful encoding of a protein;Protein.Optimized
that serves as the program which runs a procunit in the Incubator
underlying the Cytoplasm;Protein.t
, which represents
instances of proteins that can be fed to the Incubator.module Abstract: sig end
module Wizard: sig end
module Optimized: sig end
type t
val make : ?stats:bool -> Optimized.t -> t
make withstats op
creates a concrete instance of the optimized
protein op
. If withstats
is true
, the instance will collect
utilization statistics which can be extracted with get_stats
below.
The default value of withstats
is false
, which makes for slightly
faster operation.type globalstats = {
|
mutable click_count : |
|
mutable lb_unimate_count : |
|
mutable sb_unimate_count : |
exception No_statistical_collection
val get_stats : t -> globalstats
val to_pu : t -> Incubator.Procunit.t
to_pu opi
is a processing unit which can be fed to the Incubator
layer.