The cl-bayesnet Reference Manual

This is the cl-bayesnet Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 14:59:18 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-bayesnet

A Common Lisp Bayesian Network Inference Engine

Maintainer

Lucas Hope <>

Author

Lucas Hope <>

License

LLGPL

Version

0.1.0

Dependencies
  • s-xml (system).
  • trivial-shell (system).
  • cffi (system).
Source

cl-bayesnet.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 cl-bayesnet/src

Source

cl-bayesnet.asd.

Parent Component

cl-bayesnet (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 cl-bayesnet/cl-bayesnet.asd

Source

cl-bayesnet.asd.

Parent Component

cl-bayesnet (system).

ASDF Systems

cl-bayesnet.


4.1.2 cl-bayesnet/src/packages.lisp

Source

cl-bayesnet.asd.

Parent Component

src (module).

Packages

cl-bayesnet.


4.1.3 cl-bayesnet/src/utils.lisp

Dependency

packages.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Internals

4.1.4 cl-bayesnet/src/tries.lisp

Dependency

utils.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Internals

4.1.5 cl-bayesnet/src/bn-utils.lisp

Dependency

tries.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Internals

4.1.6 cl-bayesnet/src/bn.lisp

Dependency

bn-utils.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.7 cl-bayesnet/src/parse-network.lisp

Dependency

bn.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.8 cl-bayesnet/src/clique-tree.lisp

Dependency

parse-network.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Internals

4.1.9 cl-bayesnet/src/message.lisp

Dependency

clique-tree.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.10 cl-bayesnet/src/evidence.lisp

Dependency

message.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.11 cl-bayesnet/src/compiler.lisp

Dependency

evidence.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.12 cl-bayesnet/src/emit-c.lisp

Dependency

compiler.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Public Interface

use-compiled-c (function).

Internals

4.1.13 cl-bayesnet/src/test.lisp

Dependency

emit-c.lisp (file).

Source

cl-bayesnet.asd.

Parent Component

src (module).

Internals

5 Packages

Packages are listed by definition order.


5.1 cl-bayesnet

A Common Lisp Bayesian Network Inference Engine

Source

packages.lisp.

Nickname

bn

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Macros

Macro: with-evidence ((net &rest evidence) &body body)

Saves the existing evidence in the net and sets the evidence to evidence. Restores the net to its previous state after leaving the with-evidence block.

Package

cl-bayesnet.

Source

bn.lisp.


6.1.2 Ordinary functions

Function: load-ace (file)

Load a file in ace file format. Returns a net.

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: load-dne (file)

Load a file in Netica’s dne file format. Returns a net.

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: load-xmlbif (file)

Load a file in xmlbif file format. Returns a net.

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: query (object &optional query)

Queries a net or node object.

node only - A probability vector for the states of node.

node and integer - The probability the node is in that numbered state (according to (states node)).

node and symbol - The probability the node is in that state.

node and list - A probability vector for the states of node given list, which is a plist of node-state pairs.

net only - The joint probability for the whole net.

net and vector - The joint probability for the whole net, given the vector. Vector has the num-nodes length, and contains either a state number for each node, or -1 if the node state is unknown.

net and symbol - A probability vector for the states of the node designated by symbol.

net and list - The joint probability for the whole net, given list, which is a plist of node-state pairs.

Package

cl-bayesnet.

Source

bn.lisp.

Function: use-compiled-c (net &optional source-location)

Writes out arithmetic circuit instructions to a c file, compiles it with gcc, loads the shared object, and prepares the net to use the loaded function. If source-location is specified, writes the c file there. Otherwise uses a temporary file.

Returns the closure used, the raw cffi function pointer, and the number of instructions.

Package

cl-bayesnet.

Source

emit-c.lisp.

Function: use-interpreted (net)

Use interpreted arithmetic circuit instructions for the net. Returns the instructions object.

Package

cl-bayesnet.

Source

compiler.lisp.

Function: use-join-tree (net)

Use a join-tree to evaluate this net. Returns the join-tree object.

Package

cl-bayesnet.

Source

evidence.lisp.


6.1.3 Generic functions

Generic Function: add-evidence (object evidence)

Sets the evidence in a node via state index or symbol. For a net or join-tree, adds the evidence as a plist of node-state pairs.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: add-evidence ((jt join-tree) (evidence list))
Source

evidence.lisp.

Method: add-evidence (object evidence)
Method: add-evidence ((net net) (evidence list))
Generic Function: clear-evidence (object)

Clear all evidence from object.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: clear-evidence ((jt join-tree))
Source

evidence.lisp.

Method: clear-evidence ((net net))
Method: clear-evidence ((node node))
Generic Function: evidence (object)

Returns the evidence in a node as its state symbol (nil if no evidence), and for nets and join-trees a plist of node-state pairs. Settable.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: evidence ((node jt-node))
Source

evidence.lisp.

Method: evidence ((jt join-tree))
Source

evidence.lisp.

Method: evidence ((net net))
Method: evidence ((node node))
Generic Function: (setf evidence) (object)

Sets the evidence in a node via state index or symbol. For a net or join-tree, sets the evidence as either a plist of node-state pairs, or a vector of state indices (or -1 for unobserved) corresponding to the net’s node-order.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: (setf evidence) ((node jt-node))
Source

evidence.lisp.

Method: (setf evidence) ((node jt-node))
Source

evidence.lisp.

Method: (setf evidence) ((jt join-tree))

Sets net’s evidence according to net-state vec.

Source

evidence.lisp.

Method: (setf evidence) ((jt join-tree))
Source

evidence.lisp.

Method: (setf evidence) ((net net))

Sets net’s evidence according to net-state vec.

Method: (setf evidence) ((net net))
Method: (setf evidence) ((node node))
Method: (setf evidence) ((node node))
Method: (setf evidence) ((node node))
Generic Function: evidence-index (object)

Returns the evidence in a node as a state index and nets as a vector of state indices. -1 indicates no evidence.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: evidence-index ((node jt-node))
Source

evidence.lisp.

Method: evidence-index ((jt join-tree))
Source

evidence.lisp.

Method: evidence-index ((net net))
Method: evidence-index ((node node))
Generic Reader: name (net/node)

For a net, a string identifier and for a node, a keyword identifier.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: name ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

name.

Reader Method: name ((node node))

automatically generated reader method

Target Slot

name.

Reader Method: name ((net net))

automatically generated reader method

Target Slot

name.

Generic Reader: net (node/join-tree)

Returns the containing net for a node or join-tree.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: net ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

net.

Reader Method: net ((node node))

automatically generated reader method

Target Slot

net.

Generic Function: node (name/index net/join-tree)

Retrieve the node represented by a keyword name or index from the given net or join-tree.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: node ((index fixnum) (jt join-tree))
Source

evidence.lisp.

Method: node ((name symbol) (jt join-tree))
Source

evidence.lisp.

Method: node ((index fixnum) (net net))
Method: node ((name symbol) (net net))
Generic Reader: node-order (net)

Returns a list of node-names as keywords. The ordering matches their index order. This is set as part of the network compilation process.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: node-order ((net net))

automatically generated reader method

Target Slot

node-order.

Generic Reader: num-nodes (net)

The amount of nodes in the network.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: num-nodes ((net net))

automatically generated reader method

Target Slot

num-nodes.

Generic Reader: num-states (node)

The amount of states for the given node.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: num-states ((node node))

automatically generated reader method

Target Slot

num-states.

Generic Reader: parents (node)

A vector of parent names as keywords for the given node.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: parents ((node node))

automatically generated reader method

Target Slot

parents.

Generic Reader: states (node)

A vector of state names as keywords for the given node.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Reader Method: states ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

states.

Reader Method: states ((node node))

automatically generated reader method

Target Slot

states.


6.1.4 Standalone methods

Method: initialize-instance :after ((ins instructions) &key net)
Source

compiler.lisp.

Method: initialize-instance :after ((net net) &key netica-file ace-file bif-file)
Source

parse-network.lisp.


6.1.5 Classes

Class: instructions
Package

cl-bayesnet.

Source

compiler.lisp.

Direct methods
Direct slots
Slot: forms
Type

list

Readers

forms.

Writers

(setf forms).

Slot: match-lookup
Readers

match-lookup.

Writers

This slot is read-only.

Slot: +-lookup
Readers

+-lookup.

Writers

This slot is read-only.

Slot: *-lookup
Readers

*-lookup.

Writers

This slot is read-only.

Slot: form-count
Type

fixnum

Initform

0

Readers

form-count.

Writers

(setf form-count).

Slot: assignment
Type

(simple-array fixnum *)

Readers

assignment.

Writers

(setf assignment).

Slot: cliques
Type

simple-vector

Readers

cliques.

Writers

(setf cliques).

Slot: tree
Type

simple-vector

Readers

tree.

Writers

(setf tree).

Class: join-tree
Package

cl-bayesnet.

Source

message.lisp.

Direct methods
Direct slots
Slot: net
Initargs

:net

Readers

net.

Writers

This slot is read-only.

Slot: nodes
Initargs

:nodes

Readers

nodes.

Writers

This slot is read-only.

Slot: clusters
Initargs

:clusters

Readers

clusters.

Writers

This slot is read-only.

Initargs

:links

Readers

links.

Writers

This slot is read-only.

Slot: all-sep-sets
Initargs

:sep-sets

Readers

all-sep-sets.

Writers

This slot is read-only.

Slot: consistent
Readers

consistent.

Writers

(setf consistent).

Slot: assignment
Initargs

:assignment

Readers

assignment.

Writers

This slot is read-only.

Slot: obs
Initargs

:obs

Readers

obs.

Writers

(setf obs).

Slot: evidence
Initargs

:evidence

Readers

evi.

Writers

This slot is read-only.

Class: net
Package

cl-bayesnet.

Source

bn.lisp.

Direct methods
Direct slots
Slot: name
Readers

name.

Writers

set-name.

Slot: compiled
Readers

compiled.

Writers

(setf compiled).

Slot: node-order
Readers

node-order.

Writers

set-node-order.

Slot: num-nodes
Readers

num-nodes.

Writers

This slot is read-only.

Slot: node-vec
Readers

node-vec.

Writers

(setf node-vec).

Slot: nodes
Initform

(make-hash-table)

Readers

nodes.

Writers

This slot is read-only.

Slot: properties
Initform

(make-hash-table)

Readers

properties.

Writers

This slot is read-only.

Class: node
Package

cl-bayesnet.

Source

bn.lisp.

Direct methods
Direct slots
Slot: name
Readers

name.

Writers

set-name.

Slot: net
Initargs

:net

Readers

net.

Writers

set-net.

Slot: table
Readers

table.

Writers

(setf table).

Slot: states
Readers

states.

Writers

set-states.

Slot: parents
Readers

parents.

Writers

set-parents.

Slot: parent-vec
Readers

parent-vec.

Writers

(setf parent-vec).

Slot: parent-indices
Type

(simple-array fixnum *)

Readers

parent-indices.

Writers

(setf parent-indices).

Slot: num-states
Readers

num-states.

Writers

This slot is read-only.

Slot: index
Readers

index.

Writers

(setf index).

Slot: evidence
Initform

-1

Readers

%evidence.

Writers

(setf %evidence).

Slot: properties
Initform

(make-hash-table)

Readers

properties.

Writers

This slot is read-only.


6.2 Internals


6.2.1 Constants

Constant: +trie-hash-threshold+
Package

cl-bayesnet.

Source

tries.lisp.


6.2.2 Special variables

Special Variable: *calculation-context*

Used by with-calculation(-context) to define a limited caching environment.

Package

cl-bayesnet.

Source

utils.lisp.

Special Variable: *gcc-format-string*

String to pass to format. First arg is source, second is target.

Package

cl-bayesnet.

Source

emit-c.lisp.

Special Variable: *temporary-directory*

Temporary work directory for C-based network compilation

Package

cl-bayesnet.

Source

bn-utils.lisp.


6.2.3 Macros

Macro: aif (test-form then-form &optional else-form)

Anaphoric if. (lexically sets ’it’ to the test-form, which can then be referenced in then-form and else-form.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: awhen (test-form &body body)

Anaphoric when. See aif.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: do-trie-branches ((next-trie trie &optional result) &body body)

Loop over the trie’s branches.

Package

cl-bayesnet.

Source

tries.lisp.

Macro: do-trie-values ((value trie &optional retval) &body body)
Package

cl-bayesnet.

Source

tries.lisp.

Macro: do-upper ((i j len &optional result) &body body)

do for upper triangular i and j. i from 0 to len, j from i+1 to len.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Macro: multf (ref multiplier)

(setf ref (* ref multiplier)). Like incf.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: multiply-floats (floats)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Macro: reset-potential (place)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Macro: returnit (val &body body)

An anaphorous macro. binds the first val to ‘it’, allows possible modifications in the body, then returns the values. A more general prog1.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: save-evidence (object &body body)
Package

cl-bayesnet.

Source

bn.lisp.

Macro: sum-floats (floats)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Macro: vlength (vec)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Macro: while (expr &body body)

Continue performing body until expr is false.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: with-calculation (label &body body)

Unless label is nil, caches the calculation performed by body using label. If there is no calculation-context, does not evaluate label, so don’t rely on side effects.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: with-calculation-context ((&optional test) &body body)

Defines a calculation context within which calculations performed within with-calculation are cached according to their label.

Package

cl-bayesnet.

Source

utils.lisp.

Macro: with-gensyms ((&rest symbols) &body body)
Package

cl-bayesnet.

Source

utils.lisp.


6.2.4 Ordinary functions

Function: %evidence-1 (net array)
Package

cl-bayesnet.

Source

bn.lisp.

Function: %trie-map-key-value (fn key trie new-trie)

Create a new trie with the same structure as trie, applying fn to the key and the old trie node.

Package

cl-bayesnet.

Source

tries.lisp.

Function: %trie-map-trie (fn new-trie trie &rest tries)

Create a new trie with the same structure as trie, applying fn to each trie-node in turn.

Package

cl-bayesnet.

Source

tries.lisp.

Function: add-form (form ins &optional depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: assign-nodes (net cliques)

Returns an assignment of a clique node for each net node. Since lookup within a clique is sequential, just uses an array of lists. An array of assignments from the node perspective is returned as a second value.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: best (seq/hash compare &key key)

Returns the best value in seq/hash, along with its position (or key for the hash), according to compare. The comparison value is returned as a third value. key extracts the value to be used for comparison.

Package

cl-bayesnet.

Source

utils.lisp.

Function: best-in-array (array compare &key key)

return the best value in array, along with its position and its comparison value. See best.

Package

cl-bayesnet.

Source

utils.lisp.

Function: best-in-hash (hash compare &key key)

return the best value in hash along with its hash-key and its comparison value. See best.

Package

cl-bayesnet.

Source

utils.lisp.

Function: best-in-list (list compare &key key)

return the best value in list, along with its position and its comparison value. See best.

Package

cl-bayesnet.

Source

utils.lisp.

Function: best-root (tree)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: best-traversal (net ins)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: clique-tree (net)

Builds a clique-tree for dag. The tree is represented by an upper triangular matrix which has lists of clique-nodes in its diagonal.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: cluster-node (graph node)

Generates a list of added links (node1 . node2) which are necessary to form a cluster around node. Uses an (edge-tree).

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: collect-evidence (jt cluster)
Package

cl-bayesnet.

Source

message.lisp.

Function: compose (&rest fns)

Create a function which is the composition of the given functions.

Package

cl-bayesnet.

Source

utils.lisp.

Function: connect (graph a b)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: copy-array (array)
Package

cl-bayesnet.

Source

utils.lisp.

Function: copy-trie (instance)
Package

cl-bayesnet.

Source

tries.lisp.

Function: cpt-incf (att-state att-mask)

Increments att-state according to att-mask; att-state and att-mask are vectors. att-mask is nil for non-included attributes and the number of values for included attributes. It takes (reduce
#’* (remove nil att-mask)) to iterate through att-state. att-state must be a positive integer below the mask’s value, wherever mask is non-nil.

Package

cl-bayesnet.

Source

utils.lisp.

Function: cpt-index (mask att-state)

Given the mask and att-state, return an index. Used to map attribute values to a single lookup value in a table.

Package

cl-bayesnet.

Source

utils.lisp.

Function: cycle (graph a)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: degen-prob (i length)

Creates a 0-vector of the given length, with the i’th argument set to 1.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: delete-node (graph node)

Remove references to the node from graph. Replaces the node with t

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: dimension-list (list)

Calculates the dimensionality of the list. EG: (make-array (dimension-list list) :initial-contents list)))

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: dimension-list-but-one (list)

Calculates the dimensionality of the list, minus one. EG: (make-array (dimension-list list) :initial-contents list)))

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: distribute-evidence (jt cluster)
Package

cl-bayesnet.

Source

message.lisp.

Function: edge< (edge1 edge2)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: edge= (edge1 edge2)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: emit-c-double (double)
Package

cl-bayesnet.

Source

emit-c.lisp.

Function: emit-c-forms (func-name net-spec forms stream)
Package

cl-bayesnet.

Source

emit-c.lisp.

Function: emit-c-net (net stream)
Package

cl-bayesnet.

Source

emit-c.lisp.

Function: emit-c-preamble (func-name net-spec stream)

Write out the matching function for state and val. Returns 1.0 if state is negative (missing) or state = val. Returns 0.0 otherwise.

Package

cl-bayesnet.

Source

emit-c.lisp.

Function: find-temporary-file (prefix suffix &optional directory)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: float-to-fixnums (float)

This converts a float to a list of fixnums, useful for hashing floats using fixnum-based schemes.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: floyd-warshall (graph)

This finds all shortest paths in graph. I could make it more efficient by using the fact that the paths are symmetric.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: gen-clique (net ins net-state traversal depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: gen-cliques (net graph)

Graph is an array of (itree), where each tree contains that node’s neighbours. Returns a list of cliques obtained from triangulating the graph. The triangulation can be recovered by starting with a moral graph and ensuring each clique is completely connected. Each clique is an itree of nodes. Destroys graph.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: gen-evidence (net net-state node-num)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: gen-instructions (net)

Generate an arithmetic circuit for the bn represented by a
net (bn.lisp). Note that this version assumes the clique-tree is a single tree (which is correct at 15/12/2007).

Package

cl-bayesnet.

Source

compiler.lisp.

Function: gen-parameter (net net-state node-num)

Generate a parameter for the net with the given net-state and node-num.

Package

cl-bayesnet.

Source

bn.lisp.

Function: gen-separator (net ins net-state traversal depth)

bn - a net object.
clique-tree - a clique-tree built from the bn’s dag. Symmetric array with node-num lists on the diagonal and t where connected. node-assignment - (aref node-assignment node-num) == node’s clique index. net-state - array of the current node states. Nil means the node hasn’t been processed.
traversal - the current traversal to operate on: (clique trav1 ... travn) depth - the current depth of the traversal.

Package

cl-bayesnet.

Source

compiler.lisp.

Function: get-* (ins vals depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: get-+ (ins vals depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: get-match (ins node-num value)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: hash-to-trie (hash &key trie trie-key trie-value bagp)

Add the elements of hash to the given trie (if no trie is given, make one with the same test as the hash table. trie-key (default #’identity) is a function to apply to the hash-key. It should convert the hash-key to a list of atoms which are compatible with the trie’s test. trie-value (default #’identity) is a function to extract the value of interest from the actual value (or the key if bagp is non-nil) held in the hash.

Package

cl-bayesnet.

Source

tries.lisp.

Function: interpret (ins net-spec)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: jt-obs (jt node-num obs)

Enter the observation that node-num is obs.

Package

cl-bayesnet.

Source

message.lisp.

Function: jt-prob (jt node-num)

Calculates the probability of node-num given junction tree jt.

Package

cl-bayesnet.

Source

message.lisp.

Function: jt-propagate (jt)
Package

cl-bayesnet.

Source

message.lisp.

Function: jt-retract (jt)
Package

cl-bayesnet.

Source

message.lisp.

Function: junction-p (cliques tree)

Test whether the tree is in fact a junction tree, meaning for each pair of cliques, all cliques in between contain their intersection.

Package

cl-bayesnet.

Source

test.lisp.

Function: keyify (string)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: make-join-tree (net)
Package

cl-bayesnet.

Source

message.lisp.

Function: make-potential (net cluster assignment)
Package

cl-bayesnet.

Source

message.lisp.

Function: make-trie (&key value count test branch)
Package

cl-bayesnet.

Source

tries.lisp.

Function: make-trie-hash (alist &key test)

Converts a trie alist to a trie-specific hash.

Package

cl-bayesnet.

Source

tries.lisp.

Function: make-vector (len &optional initarg)
Package

cl-bayesnet.

Source

utils.lisp.

Function: map-int (fn n)

Map fn across integers from 0 below n, returning the results in an (ordered) list.

Package

cl-bayesnet.

Source

utils.lisp.

Function: map-pairs (fn list)

applies fn to each pair of items and returns a list of the resulting values. > (map-pairs #’cons ’(1 2 3 4))
=> ((1 . 2) (1 . 3) (1 . 4) (2 . 3) (2 . 4) (3 . 4))

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: maparray (fn array)

maparray applies fn to all elements in array, returning the result in an array the same dimension as the first array

Package

cl-bayesnet.

Source

utils.lisp.

Function: marginalise (sep-set cluster)

Return a new potential for sep-set to match cluster.

Package

cl-bayesnet.

Source

message.lisp.

Function: match (val1 val2)

Matches evidence.

Package

cl-bayesnet.

Source

compiler.lisp.

Function: moral (net)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: neighbour (graph a b)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: neighbours (graph node-num)

Generates a list of neighbours of the node.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: net-graph (net)

Output the net’s structure in a viewable form.

Package

cl-bayesnet.

Source

test.lisp.

Function: net-masks (net cliques traversal)

Shadowing traversal, returns (tree-node node-mask combinations) for each tree-node in traversal.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: node-combinations (initial node-mask)

Returns a vector of all node index combinations built from initial. node-mask is a vector which is nil for non-incremented nodes and numstates for included nodes. DEPRECATED for being horribly slow.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: normalize (vec &optional smoothing-factor)

Normalize a vector. Optionally adds smoothing-factor (which should be a number) to each element first. If tot is less than or equal to 0.

Package

cl-bayesnet.

Source

utils.lisp.

Function: num-arcs (net)
Package

cl-bayesnet.

Source

bn.lisp.

Function: num-nodes-1 (net)
Package

cl-bayesnet.

Source

bn.lisp.

Function: num-states-1 (node)
Package

cl-bayesnet.

Source

bn.lisp.

Function: order-vector (end &optional start)

Create a vector of length (end - start), filled with numbers from start...(end - 1). Start defaults to 0.

Package

cl-bayesnet.

Source

utils.lisp.

Function: parse-ace-node (name list)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: parse-ace-potential (net parents data-list)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: parse-ace-stream (stream &key net)

Idea taken from trivial-configuration-parser by Brian Mastenbrook.

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: parse-netica-net (list &key net)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: parse-netica-node (name list)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: parse-netica-stream (stream &key net)

Idea taken from trivial-configuration-parser by Brian Mastenbrook.

Package

cl-bayesnet.

Source

parse-network.lisp.

Function: path (graph a b)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: post-process-plus (depth args ins)

Puts the form in canonical form for insertion.

Package

cl-bayesnet.

Source

compiler.lisp.

Function: post-process-times (depth args ins)

Puts the form in canonical form for insertion.

Package

cl-bayesnet.

Source

compiler.lisp.

Function: preprocess-network (net)

Readies the network for efficient lookup.
Sets a node ordering for the network. Also sets node parent-vec and parent-indices.

Package

cl-bayesnet.

Source

bn.lisp.

Function: preprocess-node (node)

Store information for efficient lookup.

Package

cl-bayesnet.

Source

bn.lisp.

Function: push-form (form ins &optional depth)

Pushes a form onto instructions, and returns an index into forms. Won’t actually add a form if a matching one exists (acts like pushnew).

Package

cl-bayesnet.

Source

compiler.lisp.

Function: random-choose (seq)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: random-evidence (net &optional net-spec arr)
Package

cl-bayesnet.

Source

test.lisp.

Function: random-graph (num-nodes num-arcs &key ensure-connected)
Package

cl-bayesnet.

Source

test.lisp.

Function: random-network (max-states &rest random-graph-args)
Package

cl-bayesnet.

Source

test.lisp.

Function: random-prob (num-states)
Package

cl-bayesnet.

Source

test.lisp.

Function: random-table (node)
Package

cl-bayesnet.

Source

test.lisp.

Function: roots (graph)

Returns the roots of the graph as a list.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: sep-cost (a b states)

Find prod states of x in X + prod states of y in Y. clique1 and clique2 are lists, states is a vector.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: sep-mass (a b)

Find |intersection| of lists clique1 and clique2

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: sep-sets (cliques states)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: set-* (ins vals form-num depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: set-+ (ins vals form-num depth)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: set-match (ins node-num value form-num)
Package

cl-bayesnet.

Source

compiler.lisp.

Function: split (p x)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: split-probs (probs prob-length)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: statep (node state)
Package

cl-bayesnet.

Source

bn.lisp.

Function: symmetric (array x y)

Treat 2D array as a symmetric array. Settable.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: (setf symmetric) (array x y)
Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: table-lookup (table indices)
Package

cl-bayesnet.

Source

bn.lisp.

Function: test-net-random (net &optional iterations)
Package

cl-bayesnet.

Source

test.lisp.

Function: traverse (tree &optional root)

Builds a traversal for the undirected tree structure tree. Structure is ;(tree-node subtraversal1 ... subtraversaln)

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: tree-depth (tree root)
Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: trie-bottom-p (trie)

Returns t if the given trie has no branches.

Package

cl-bayesnet.

Source

tries.lisp.

Reader: trie-branch (instance)
Writer: (setf trie-branch) (instance)
Package

cl-bayesnet.

Source

tries.lisp.

Target Slot

branch.

Function: trie-branch-count (trie)

Count the number of branches of trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-branch-values (trie)

Return (key . trie-value) for each branch of trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-clear (trie)

Empties the trie, but leaves the test as is.

Package

cl-bayesnet.

Source

tries.lisp.

Reader: trie-count (instance)
Writer: (setf trie-count) (instance)
Package

cl-bayesnet.

Source

tries.lisp.

Target Slot

count.

Function: trie-insert (value trie key)

Insert the value in the trie with the given key. Returns the accessed trie node.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-list-bottom (trie)

List all values at the bottom of the trie (i.e. values of all tries with no branches).

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-list-depth (trie depth)

List all values at the given depth (0 is the top level).

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-list-values (trie)

Recursively list all values in the trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-map-b (fn trie)

Apply fn to each branch of trie. Returns the trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-map-branches (fn trie)

Apply fn to each branch of trie. Returns a list of the returned values.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-map-key-value (fn trie)

Create a new trie with the same structure as trie, applying fn to the key and the old trie node.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-map-trie (fn trie &rest tries)

Apply fn to the given trie and its children, returning the results as the values of a matching trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-map-values (fn trie)

Apply fn to the given trie’s non-nil values, returning the results as the values of a matching trie.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-p (object)
Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-prune (to-prune example)

Recursively remove all branches in to-prune that don’t also appear in example, thus to-prune is guaranteed to be as small as example or smaller.

Package

cl-bayesnet.

Source

tries.lisp.

Function: trie-search (trie key)

Recursively search the trie for the given key. If key is nil, We’re at the right node, so we return it. The value (which may be nil) can then be accessed with trie-value.

Package

cl-bayesnet.

Source

tries.lisp.

Reader: trie-test (instance)
Writer: (setf trie-test) (instance)
Package

cl-bayesnet.

Source

tries.lisp.

Target Slot

test.

Reader: trie-value (instance)
Writer: (setf trie-value) (instance)
Package

cl-bayesnet.

Source

tries.lisp.

Target Slot

value.

Function: vecfn (fn num)

Build a vector by calling fn num times.

Package

cl-bayesnet.

Source

bn-utils.lisp.

Function: weight-cluster (net graph node)

a cluster’s weight is the product of its nodes’ states.

Package

cl-bayesnet.

Source

clique-tree.lisp.

Function: xmlbif-add-definition (net def)
Package

cl-bayesnet.

Source

parse-network.lisp.

Function: xmlbif-add-variable (net node)
Package

cl-bayesnet.

Source

parse-network.lisp.


6.2.5 Generic functions

Generic Reader: %evidence (object)
Package

cl-bayesnet.

Methods
Reader Method: %evidence ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

evidence.

Generic Writer: (setf %evidence) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf %evidence) ((node node))

automatically generated writer method

Source

bn.lisp.

Target Slot

evidence.

Generic Function: %query (net query)

Query a net/node.

Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: %query ((node jt-node) (query list))

FIXME: should return a single prob for the joint distribution.

Source

evidence.lisp.

Method: %query ((node jt-node) (query vector))
Source

evidence.lisp.

Method: %query ((node jt-node) (query null))
Source

evidence.lisp.

Method: %query ((node jt-node) (query symbol))
Source

evidence.lisp.

Method: %query ((node jt-node) (query integer))
Source

evidence.lisp.

Method: %query ((jt join-tree) (query list))

FIXME: should return a single prob for the joint distribution.

Source

evidence.lisp.

Method: %query ((jt join-tree) (query vector))
Source

evidence.lisp.

Method: %query ((jt join-tree) (query null))
Source

evidence.lisp.

Method: %query ((jt join-tree) (query symbol))
Source

evidence.lisp.

Method: %query ((jt join-tree) (query fixnum))
Source

evidence.lisp.

Method: %query ((net net) (query null))
Method: %query ((net net) (query list))
Method: %query ((net net) (query symbol))
Method: %query ((net net) (query vector))
Method: %query ((node node) (query list))
Method: %query ((node node) (query null))
Method: %query ((node node) (query symbol))
Method: %query ((node node) (query integer))
Generic Reader: *-lookup (object)
Package

cl-bayesnet.

Methods
Reader Method: *-lookup ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

*-lookup.

Generic Reader: +-lookup (object)
Package

cl-bayesnet.

Methods
Reader Method: +-lookup ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

+-lookup.

Generic Reader: all-sep-sets (object)
Package

cl-bayesnet.

Methods
Reader Method: all-sep-sets ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

all-sep-sets.

Generic Reader: assignment (object)
Package

cl-bayesnet.

Methods
Reader Method: assignment ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

assignment.

Reader Method: assignment ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

assignment.

Reader Method: assignment ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

assignment.

Generic Writer: (setf assignment) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf assignment) ((instructions instructions))

automatically generated writer method

Source

compiler.lisp.

Target Slot

assignment.

Generic Reader: clean-potential (object)
Package

cl-bayesnet.

Methods
Reader Method: clean-potential ((cluster cluster))

automatically generated reader method

Source

message.lisp.

Target Slot

clean-potential.

Generic Reader: cliques (object)
Package

cl-bayesnet.

Methods
Reader Method: cliques ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

cliques.

Generic Writer: (setf cliques) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf cliques) ((instructions instructions))

automatically generated writer method

Source

compiler.lisp.

Target Slot

cliques.

Generic Reader: clusters (object)
Package

cl-bayesnet.

Methods
Reader Method: clusters ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

clusters.

Generic Reader: compiled (object)
Package

cl-bayesnet.

Methods
Reader Method: compiled ((net net))

automatically generated reader method

Source

bn.lisp.

Target Slot

compiled.

Generic Writer: (setf compiled) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf compiled) ((net net))

automatically generated writer method

Source

bn.lisp.

Target Slot

compiled.

Generic Reader: consistent (object)
Package

cl-bayesnet.

Methods
Reader Method: consistent ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

consistent.

Generic Writer: (setf consistent) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf consistent) ((join-tree join-tree))

automatically generated writer method

Source

message.lisp.

Target Slot

consistent.

Generic Reader: evi (object)
Package

cl-bayesnet.

Methods
Reader Method: evi ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

evidence.

Reader Method: evi ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

evidence.

Generic Writer: (setf evi) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf evi) ((jt-node jt-node))

automatically generated writer method

Source

message.lisp.

Target Slot

evidence.

Generic Function: evidence-1 (object)
Package

cl-bayesnet.

Source

bn.lisp.

Methods
Method: evidence-1 ((jt join-tree))
Source

evidence.lisp.

Method: evidence-1 ((net net))
Generic Reader: form-count (object)
Package

cl-bayesnet.

Methods
Reader Method: form-count ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

form-count.

Generic Writer: (setf form-count) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf form-count) ((instructions instructions))

automatically generated writer method

Source

compiler.lisp.

Target Slot

form-count.

Generic Reader: forms (object)
Package

cl-bayesnet.

Methods
Reader Method: forms ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

forms.

Generic Writer: (setf forms) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf forms) ((instructions instructions))

automatically generated writer method

Source

compiler.lisp.

Target Slot

forms.

Generic Reader: index (object)
Package

cl-bayesnet.

Methods
Reader Method: index ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

index.

Reader Method: index ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

index.

Generic Writer: (setf index) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf index) ((node node))

automatically generated writer method

Source

bn.lisp.

Target Slot

index.

Generic Reader: join-tree-of (object)
Package

cl-bayesnet.

Methods
Reader Method: join-tree-of ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

join-tree.

Generic Writer: (setf join-tree-of) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf join-tree-of) ((jt-node jt-node))

automatically generated writer method

Source

message.lisp.

Target Slot

join-tree.

Package

cl-bayesnet.

Methods

automatically generated reader method

Source

message.lisp.

Target Slot

links.

Generic Reader: mark (object)
Package

cl-bayesnet.

Methods
Reader Method: mark ((cluster cluster))

automatically generated reader method

Source

message.lisp.

Target Slot

mark.

Generic Writer: (setf mark) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf mark) ((cluster cluster))

automatically generated writer method

Source

message.lisp.

Target Slot

mark.

Generic Reader: mask (object)
Package

cl-bayesnet.

Methods
Reader Method: mask ((potential-container potential-container))

automatically generated reader method

Source

message.lisp.

Target Slot

mask.

Generic Reader: match-lookup (object)
Package

cl-bayesnet.

Methods
Reader Method: match-lookup ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

match-lookup.

Generic Function: message-pass (jt clique1 clique2)
Package

cl-bayesnet.

Source

message.lisp.

Methods
Method: message-pass ((jt join-tree) (clique1 fixnum) (clique2 fixnum))
Generic Reader: node-vec (object)
Package

cl-bayesnet.

Methods
Reader Method: node-vec ((net net))

automatically generated reader method

Source

bn.lisp.

Target Slot

node-vec.

Generic Writer: (setf node-vec) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf node-vec) ((net net))

automatically generated writer method

Source

bn.lisp.

Target Slot

node-vec.

Generic Reader: nodes (object)
Package

cl-bayesnet.

Methods
Reader Method: nodes ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

nodes.

Reader Method: nodes ((net net))

automatically generated reader method

Source

bn.lisp.

Target Slot

nodes.

Generic Reader: obs (object)
Package

cl-bayesnet.

Methods
Reader Method: obs ((jt-node jt-node))

automatically generated reader method

Source

message.lisp.

Target Slot

obs.

Reader Method: obs ((join-tree join-tree))

automatically generated reader method

Source

message.lisp.

Target Slot

obs.

Generic Writer: (setf obs) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf obs) ((jt-node jt-node))

automatically generated writer method

Source

message.lisp.

Target Slot

obs.

Writer Method: (setf obs) ((join-tree join-tree))

automatically generated writer method

Source

message.lisp.

Target Slot

obs.

Generic Reader: parent-indices (object)
Package

cl-bayesnet.

Methods
Reader Method: parent-indices ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

parent-indices.

Generic Writer: (setf parent-indices) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf parent-indices) ((node node))

automatically generated writer method

Source

bn.lisp.

Target Slot

parent-indices.

Generic Reader: parent-vec (object)
Package

cl-bayesnet.

Methods
Reader Method: parent-vec ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

parent-vec.

Generic Writer: (setf parent-vec) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf parent-vec) ((node node))

automatically generated writer method

Source

bn.lisp.

Target Slot

parent-vec.

Generic Reader: potential (object)
Package

cl-bayesnet.

Methods
Reader Method: potential ((potential-container potential-container))

automatically generated reader method

Source

message.lisp.

Target Slot

potential.

Generic Writer: (setf potential) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf potential) ((potential-container potential-container))

automatically generated writer method

Source

message.lisp.

Target Slot

potential.

Generic Reader: properties (object)
Package

cl-bayesnet.

Methods
Reader Method: properties ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

properties.

Reader Method: properties ((net net))

automatically generated reader method

Source

bn.lisp.

Target Slot

properties.

Generic Writer: set-name (new-value object)
Package

cl-bayesnet.

Methods
Writer Method: set-name ((new-value node) node)

automatically generated writer method

Source

bn.lisp.

Target Slot

name.

Writer Method: set-name ((new-value net) net)

automatically generated writer method

Source

bn.lisp.

Target Slot

name.

Generic Writer: set-net (new-value object)
Package

cl-bayesnet.

Methods
Writer Method: set-net ((new-value node) node)

automatically generated writer method

Source

bn.lisp.

Target Slot

net.

Generic Writer: set-node-order (new-value object)
Package

cl-bayesnet.

Methods
Writer Method: set-node-order ((new-value net) net)

automatically generated writer method

Source

bn.lisp.

Target Slot

node-order.

Generic Writer: set-parents (new-value object)
Package

cl-bayesnet.

Methods
Writer Method: set-parents ((new-value node) node)

automatically generated writer method

Source

bn.lisp.

Target Slot

parents.

Generic Writer: set-states (new-value object)
Package

cl-bayesnet.

Methods
Writer Method: set-states ((new-value node) node)

automatically generated writer method

Source

bn.lisp.

Target Slot

states.

Generic Function: shuffle (object)

Randomise the object, which should represent a sequence.

Package

cl-bayesnet.

Source

utils.lisp.

Methods
Method: shuffle ((length integer))

Create a vector of the given length using order-vector, and shuffle it.

Method: shuffle ((sequence sequence))

shuffle the items in the sequence into a random order. Converts the sequence to a vector.

Method: shuffle ((vector vector))

shuffle the items in vector into a random order.

Generic Reader: table (object)
Package

cl-bayesnet.

Methods
Reader Method: table ((node node))

automatically generated reader method

Source

bn.lisp.

Target Slot

table.

Generic Writer: (setf table) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf table) ((node node))

automatically generated writer method

Source

bn.lisp.

Target Slot

table.

Generic Reader: tree (object)
Package

cl-bayesnet.

Methods
Reader Method: tree ((instructions instructions))

automatically generated reader method

Source

compiler.lisp.

Target Slot

tree.

Generic Writer: (setf tree) (object)
Package

cl-bayesnet.

Methods
Writer Method: (setf tree) ((instructions instructions))

automatically generated writer method

Source

compiler.lisp.

Target Slot

tree.


6.2.6 Structures

Structure: trie

A trie node.

Package

cl-bayesnet.

Source

tries.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: value
Readers

trie-value.

Writers

(setf trie-value).

Slot: count
Package

common-lisp.

Initform

0

Readers

trie-count.

Writers

(setf trie-count).

Slot: test
Initform

(quote eql)

Readers

trie-test.

Writers

(setf trie-test).

Slot: branch
Readers

trie-branch.

Writers

(setf trie-branch).


6.2.7 Classes

Class: cluster
Package

cl-bayesnet.

Source

message.lisp.

Direct superclasses

potential-container.

Direct methods
Direct slots
Slot: mark
Readers

mark.

Writers

(setf mark).

Slot: clean-potential
Initargs

:clean-potential

Readers

clean-potential.

Writers

This slot is read-only.

Class: jt-node
Package

cl-bayesnet.

Source

message.lisp.

Direct methods
Direct slots
Slot: index
Initargs

:index

Readers

index.

Writers

This slot is read-only.

Slot: assignment
Initargs

:assignment

Readers

assignment.

Writers

This slot is read-only.

Slot: evidence
Initargs

:evidence

Readers

evi.

Writers

(setf evi).

Slot: obs
Initargs

:obs

Readers

obs.

Writers

(setf obs).

Slot: name
Initargs

:name

Readers

name.

Writers

This slot is read-only.

Slot: states
Initargs

:states

Readers

states.

Writers

This slot is read-only.

Slot: join-tree
Initargs

:join-tree

Readers

join-tree-of.

Writers

(setf join-tree-of).

Class: potential-container
Package

cl-bayesnet.

Source

message.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: mask
Initargs

:mask

Readers

mask.

Writers

This slot is read-only.

Slot: potential
Initargs

:potential

Readers

potential.

Writers

(setf potential).

Class: sep-set
Package

cl-bayesnet.

Source

message.lisp.

Direct superclasses

potential-container.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (   *   +  
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X  
Index Entry  Section

%
%evidence: Private generic functions
%evidence: Private generic functions
%evidence-1: Private ordinary functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%query: Private generic functions
%trie-map-key-value: Private ordinary functions
%trie-map-trie: Private ordinary functions

(
(setf %evidence): Private generic functions
(setf %evidence): Private generic functions
(setf assignment): Private generic functions
(setf assignment): Private generic functions
(setf cliques): Private generic functions
(setf cliques): Private generic functions
(setf compiled): Private generic functions
(setf compiled): Private generic functions
(setf consistent): Private generic functions
(setf consistent): Private generic functions
(setf evi): Private generic functions
(setf evi): Private generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf evidence): Public generic functions
(setf form-count): Private generic functions
(setf form-count): Private generic functions
(setf forms): Private generic functions
(setf forms): Private generic functions
(setf index): Private generic functions
(setf index): Private generic functions
(setf join-tree-of): Private generic functions
(setf join-tree-of): Private generic functions
(setf mark): Private generic functions
(setf mark): Private generic functions
(setf node-vec): Private generic functions
(setf node-vec): Private generic functions
(setf obs): Private generic functions
(setf obs): Private generic functions
(setf obs): Private generic functions
(setf parent-indices): Private generic functions
(setf parent-indices): Private generic functions
(setf parent-vec): Private generic functions
(setf parent-vec): Private generic functions
(setf potential): Private generic functions
(setf potential): Private generic functions
(setf symmetric): Private ordinary functions
(setf table): Private generic functions
(setf table): Private generic functions
(setf tree): Private generic functions
(setf tree): Private generic functions
(setf trie-branch): Private ordinary functions
(setf trie-count): Private ordinary functions
(setf trie-test): Private ordinary functions
(setf trie-value): Private ordinary functions

*
*-lookup: Private generic functions
*-lookup: Private generic functions

+
+-lookup: Private generic functions
+-lookup: Private generic functions

A
add-evidence: Public generic functions
add-evidence: Public generic functions
add-evidence: Public generic functions
add-evidence: Public generic functions
add-form: Private ordinary functions
aif: Private macros
all-sep-sets: Private generic functions
all-sep-sets: Private generic functions
assign-nodes: Private ordinary functions
assignment: Private generic functions
assignment: Private generic functions
assignment: Private generic functions
assignment: Private generic functions
awhen: Private macros

B
best: Private ordinary functions
best-in-array: Private ordinary functions
best-in-hash: Private ordinary functions
best-in-list: Private ordinary functions
best-root: Private ordinary functions
best-traversal: Private ordinary functions

C
clean-potential: Private generic functions
clean-potential: Private generic functions
clear-evidence: Public generic functions
clear-evidence: Public generic functions
clear-evidence: Public generic functions
clear-evidence: Public generic functions
clique-tree: Private ordinary functions
cliques: Private generic functions
cliques: Private generic functions
cluster-node: Private ordinary functions
clusters: Private generic functions
clusters: Private generic functions
collect-evidence: Private ordinary functions
compiled: Private generic functions
compiled: Private generic functions
compose: Private ordinary functions
connect: Private ordinary functions
consistent: Private generic functions
consistent: Private generic functions
copy-array: Private ordinary functions
copy-trie: Private ordinary functions
cpt-incf: Private ordinary functions
cpt-index: Private ordinary functions
cycle: Private ordinary functions

D
degen-prob: Private ordinary functions
delete-node: Private ordinary functions
dimension-list: Private ordinary functions
dimension-list-but-one: Private ordinary functions
distribute-evidence: Private ordinary functions
do-trie-branches: Private macros
do-trie-values: Private macros
do-upper: Private macros

E
edge<: Private ordinary functions
edge=: Private ordinary functions
emit-c-double: Private ordinary functions
emit-c-forms: Private ordinary functions
emit-c-net: Private ordinary functions
emit-c-preamble: Private ordinary functions
evi: Private generic functions
evi: Private generic functions
evi: Private generic functions
evidence: Public generic functions
evidence: Public generic functions
evidence: Public generic functions
evidence: Public generic functions
evidence: Public generic functions
evidence-1: Private generic functions
evidence-1: Private generic functions
evidence-1: Private generic functions
evidence-index: Public generic functions
evidence-index: Public generic functions
evidence-index: Public generic functions
evidence-index: Public generic functions
evidence-index: Public generic functions

F
find-temporary-file: Private ordinary functions
float-to-fixnums: Private ordinary functions
floyd-warshall: Private ordinary functions
form-count: Private generic functions
form-count: Private generic functions
forms: Private generic functions
forms: Private generic functions
Function, %evidence-1: Private ordinary functions
Function, %trie-map-key-value: Private ordinary functions
Function, %trie-map-trie: Private ordinary functions
Function, (setf symmetric): Private ordinary functions
Function, (setf trie-branch): Private ordinary functions
Function, (setf trie-count): Private ordinary functions
Function, (setf trie-test): Private ordinary functions
Function, (setf trie-value): Private ordinary functions
Function, add-form: Private ordinary functions
Function, assign-nodes: Private ordinary functions
Function, best: Private ordinary functions
Function, best-in-array: Private ordinary functions
Function, best-in-hash: Private ordinary functions
Function, best-in-list: Private ordinary functions
Function, best-root: Private ordinary functions
Function, best-traversal: Private ordinary functions
Function, clique-tree: Private ordinary functions
Function, cluster-node: Private ordinary functions
Function, collect-evidence: Private ordinary functions
Function, compose: Private ordinary functions
Function, connect: Private ordinary functions
Function, copy-array: Private ordinary functions
Function, copy-trie: Private ordinary functions
Function, cpt-incf: Private ordinary functions
Function, cpt-index: Private ordinary functions
Function, cycle: Private ordinary functions
Function, degen-prob: Private ordinary functions
Function, delete-node: Private ordinary functions
Function, dimension-list: Private ordinary functions
Function, dimension-list-but-one: Private ordinary functions
Function, distribute-evidence: Private ordinary functions
Function, edge<: Private ordinary functions
Function, edge=: Private ordinary functions
Function, emit-c-double: Private ordinary functions
Function, emit-c-forms: Private ordinary functions
Function, emit-c-net: Private ordinary functions
Function, emit-c-preamble: Private ordinary functions
Function, find-temporary-file: Private ordinary functions
Function, float-to-fixnums: Private ordinary functions
Function, floyd-warshall: Private ordinary functions
Function, gen-clique: Private ordinary functions
Function, gen-cliques: Private ordinary functions
Function, gen-evidence: Private ordinary functions
Function, gen-instructions: Private ordinary functions
Function, gen-parameter: Private ordinary functions
Function, gen-separator: Private ordinary functions
Function, get-*: Private ordinary functions
Function, get-+: Private ordinary functions
Function, get-match: Private ordinary functions
Function, hash-to-trie: Private ordinary functions
Function, interpret: Private ordinary functions
Function, jt-obs: Private ordinary functions
Function, jt-prob: Private ordinary functions
Function, jt-propagate: Private ordinary functions
Function, jt-retract: Private ordinary functions
Function, junction-p: Private ordinary functions
Function, keyify: Private ordinary functions
Function, load-ace: Public ordinary functions
Function, load-dne: Public ordinary functions
Function, load-xmlbif: Public ordinary functions
Function, make-join-tree: Private ordinary functions
Function, make-potential: Private ordinary functions
Function, make-trie: Private ordinary functions
Function, make-trie-hash: Private ordinary functions
Function, make-vector: Private ordinary functions
Function, map-int: Private ordinary functions
Function, map-pairs: Private ordinary functions
Function, maparray: Private ordinary functions
Function, marginalise: Private ordinary functions
Function, match: Private ordinary functions
Function, moral: Private ordinary functions
Function, neighbour: Private ordinary functions
Function, neighbours: Private ordinary functions
Function, net-graph: Private ordinary functions
Function, net-masks: Private ordinary functions
Function, node-combinations: Private ordinary functions
Function, normalize: Private ordinary functions
Function, num-arcs: Private ordinary functions
Function, num-nodes-1: Private ordinary functions
Function, num-states-1: Private ordinary functions
Function, order-vector: Private ordinary functions
Function, parse-ace-node: Private ordinary functions
Function, parse-ace-potential: Private ordinary functions
Function, parse-ace-stream: Private ordinary functions
Function, parse-netica-net: Private ordinary functions
Function, parse-netica-node: Private ordinary functions
Function, parse-netica-stream: Private ordinary functions
Function, path: Private ordinary functions
Function, post-process-plus: Private ordinary functions
Function, post-process-times: Private ordinary functions
Function, preprocess-network: Private ordinary functions
Function, preprocess-node: Private ordinary functions
Function, push-form: Private ordinary functions
Function, query: Public ordinary functions
Function, random-choose: Private ordinary functions
Function, random-evidence: Private ordinary functions
Function, random-graph: Private ordinary functions
Function, random-network: Private ordinary functions
Function, random-prob: Private ordinary functions
Function, random-table: Private ordinary functions
Function, roots: Private ordinary functions
Function, sep-cost: Private ordinary functions
Function, sep-mass: Private ordinary functions
Function, sep-sets: Private ordinary functions
Function, set-*: Private ordinary functions
Function, set-+: Private ordinary functions
Function, set-match: Private ordinary functions
Function, split: Private ordinary functions
Function, split-probs: Private ordinary functions
Function, statep: Private ordinary functions
Function, symmetric: Private ordinary functions
Function, table-lookup: Private ordinary functions
Function, test-net-random: Private ordinary functions
Function, traverse: Private ordinary functions
Function, tree-depth: Private ordinary functions
Function, trie-bottom-p: Private ordinary functions
Function, trie-branch: Private ordinary functions
Function, trie-branch-count: Private ordinary functions
Function, trie-branch-values: Private ordinary functions
Function, trie-clear: Private ordinary functions
Function, trie-count: Private ordinary functions
Function, trie-insert: Private ordinary functions
Function, trie-list-bottom: Private ordinary functions
Function, trie-list-depth: Private ordinary functions
Function, trie-list-values: Private ordinary functions
Function, trie-map-b: Private ordinary functions
Function, trie-map-branches: Private ordinary functions
Function, trie-map-key-value: Private ordinary functions
Function, trie-map-trie: Private ordinary functions
Function, trie-map-values: Private ordinary functions
Function, trie-p: Private ordinary functions
Function, trie-prune: Private ordinary functions
Function, trie-search: Private ordinary functions
Function, trie-test: Private ordinary functions
Function, trie-value: Private ordinary functions
Function, use-compiled-c: Public ordinary functions
Function, use-interpreted: Public ordinary functions
Function, use-join-tree: Public ordinary functions
Function, vecfn: Private ordinary functions
Function, weight-cluster: Private ordinary functions
Function, xmlbif-add-definition: Private ordinary functions
Function, xmlbif-add-variable: Private ordinary functions

G
gen-clique: Private ordinary functions
gen-cliques: Private ordinary functions
gen-evidence: Private ordinary functions
gen-instructions: Private ordinary functions
gen-parameter: Private ordinary functions
gen-separator: Private ordinary functions
Generic Function, %evidence: Private generic functions
Generic Function, %query: Private generic functions
Generic Function, (setf %evidence): Private generic functions
Generic Function, (setf assignment): Private generic functions
Generic Function, (setf cliques): Private generic functions
Generic Function, (setf compiled): Private generic functions
Generic Function, (setf consistent): Private generic functions
Generic Function, (setf evi): Private generic functions
Generic Function, (setf evidence): Public generic functions
Generic Function, (setf form-count): Private generic functions
Generic Function, (setf forms): Private generic functions
Generic Function, (setf index): Private generic functions
Generic Function, (setf join-tree-of): Private generic functions
Generic Function, (setf mark): Private generic functions
Generic Function, (setf node-vec): Private generic functions
Generic Function, (setf obs): Private generic functions
Generic Function, (setf parent-indices): Private generic functions
Generic Function, (setf parent-vec): Private generic functions
Generic Function, (setf potential): Private generic functions
Generic Function, (setf table): Private generic functions
Generic Function, (setf tree): Private generic functions
Generic Function, *-lookup: Private generic functions
Generic Function, +-lookup: Private generic functions
Generic Function, add-evidence: Public generic functions
Generic Function, all-sep-sets: Private generic functions
Generic Function, assignment: Private generic functions
Generic Function, clean-potential: Private generic functions
Generic Function, clear-evidence: Public generic functions
Generic Function, cliques: Private generic functions
Generic Function, clusters: Private generic functions
Generic Function, compiled: Private generic functions
Generic Function, consistent: Private generic functions
Generic Function, evi: Private generic functions
Generic Function, evidence: Public generic functions
Generic Function, evidence-1: Private generic functions
Generic Function, evidence-index: Public generic functions
Generic Function, form-count: Private generic functions
Generic Function, forms: Private generic functions
Generic Function, index: Private generic functions
Generic Function, join-tree-of: Private generic functions
Generic Function, links: Private generic functions
Generic Function, mark: Private generic functions
Generic Function, mask: Private generic functions
Generic Function, match-lookup: Private generic functions
Generic Function, message-pass: Private generic functions
Generic Function, name: Public generic functions
Generic Function, net: Public generic functions
Generic Function, node: Public generic functions
Generic Function, node-order: Public generic functions
Generic Function, node-vec: Private generic functions
Generic Function, nodes: Private generic functions
Generic Function, num-nodes: Public generic functions
Generic Function, num-states: Public generic functions
Generic Function, obs: Private generic functions
Generic Function, parent-indices: Private generic functions
Generic Function, parent-vec: Private generic functions
Generic Function, parents: Public generic functions
Generic Function, potential: Private generic functions
Generic Function, properties: Private generic functions
Generic Function, set-name: Private generic functions
Generic Function, set-net: Private generic functions
Generic Function, set-node-order: Private generic functions
Generic Function, set-parents: Private generic functions
Generic Function, set-states: Private generic functions
Generic Function, shuffle: Private generic functions
Generic Function, states: Public generic functions
Generic Function, table: Private generic functions
Generic Function, tree: Private generic functions
get-*: Private ordinary functions
get-+: Private ordinary functions
get-match: Private ordinary functions

H
hash-to-trie: Private ordinary functions

I
index: Private generic functions
index: Private generic functions
index: Private generic functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
interpret: Private ordinary functions

J
join-tree-of: Private generic functions
join-tree-of: Private generic functions
jt-obs: Private ordinary functions
jt-prob: Private ordinary functions
jt-propagate: Private ordinary functions
jt-retract: Private ordinary functions
junction-p: Private ordinary functions

K
keyify: Private ordinary functions

L
links: Private generic functions
links: Private generic functions
load-ace: Public ordinary functions
load-dne: Public ordinary functions
load-xmlbif: Public ordinary functions

M
Macro, aif: Private macros
Macro, awhen: Private macros
Macro, do-trie-branches: Private macros
Macro, do-trie-values: Private macros
Macro, do-upper: Private macros
Macro, multf: Private macros
Macro, multiply-floats: Private macros
Macro, reset-potential: Private macros
Macro, returnit: Private macros
Macro, save-evidence: Private macros
Macro, sum-floats: Private macros
Macro, vlength: Private macros
Macro, while: Private macros
Macro, with-calculation: Private macros
Macro, with-calculation-context: Private macros
Macro, with-evidence: Public macros
Macro, with-gensyms: Private macros
make-join-tree: Private ordinary functions
make-potential: Private ordinary functions
make-trie: Private ordinary functions
make-trie-hash: Private ordinary functions
make-vector: Private ordinary functions
map-int: Private ordinary functions
map-pairs: Private ordinary functions
maparray: Private ordinary functions
marginalise: Private ordinary functions
mark: Private generic functions
mark: Private generic functions
mask: Private generic functions
mask: Private generic functions
match: Private ordinary functions
match-lookup: Private generic functions
match-lookup: Private generic functions
message-pass: Private generic functions
message-pass: Private generic functions
Method, %evidence: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, %query: Private generic functions
Method, (setf %evidence): Private generic functions
Method, (setf assignment): Private generic functions
Method, (setf cliques): Private generic functions
Method, (setf compiled): Private generic functions
Method, (setf consistent): Private generic functions
Method, (setf evi): Private generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf evidence): Public generic functions
Method, (setf form-count): Private generic functions
Method, (setf forms): Private generic functions
Method, (setf index): Private generic functions
Method, (setf join-tree-of): Private generic functions
Method, (setf mark): Private generic functions
Method, (setf node-vec): Private generic functions
Method, (setf obs): Private generic functions
Method, (setf obs): Private generic functions
Method, (setf parent-indices): Private generic functions
Method, (setf parent-vec): Private generic functions
Method, (setf potential): Private generic functions
Method, (setf table): Private generic functions
Method, (setf tree): Private generic functions
Method, *-lookup: Private generic functions
Method, +-lookup: Private generic functions
Method, add-evidence: Public generic functions
Method, add-evidence: Public generic functions
Method, add-evidence: Public generic functions
Method, all-sep-sets: Private generic functions
Method, assignment: Private generic functions
Method, assignment: Private generic functions
Method, assignment: Private generic functions
Method, clean-potential: Private generic functions
Method, clear-evidence: Public generic functions
Method, clear-evidence: Public generic functions
Method, clear-evidence: Public generic functions
Method, cliques: Private generic functions
Method, clusters: Private generic functions
Method, compiled: Private generic functions
Method, consistent: Private generic functions
Method, evi: Private generic functions
Method, evi: Private generic functions
Method, evidence: Public generic functions
Method, evidence: Public generic functions
Method, evidence: Public generic functions
Method, evidence: Public generic functions
Method, evidence-1: Private generic functions
Method, evidence-1: Private generic functions
Method, evidence-index: Public generic functions
Method, evidence-index: Public generic functions
Method, evidence-index: Public generic functions
Method, evidence-index: Public generic functions
Method, form-count: Private generic functions
Method, forms: Private generic functions
Method, index: Private generic functions
Method, index: Private generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, join-tree-of: Private generic functions
Method, links: Private generic functions
Method, mark: Private generic functions
Method, mask: Private generic functions
Method, match-lookup: Private generic functions
Method, message-pass: Private generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, name: Public generic functions
Method, net: Public generic functions
Method, net: Public generic functions
Method, node: Public generic functions
Method, node: Public generic functions
Method, node: Public generic functions
Method, node: Public generic functions
Method, node-order: Public generic functions
Method, node-vec: Private generic functions
Method, nodes: Private generic functions
Method, nodes: Private generic functions
Method, num-nodes: Public generic functions
Method, num-states: Public generic functions
Method, obs: Private generic functions
Method, obs: Private generic functions
Method, parent-indices: Private generic functions
Method, parent-vec: Private generic functions
Method, parents: Public generic functions
Method, potential: Private generic functions
Method, properties: Private generic functions
Method, properties: Private generic functions
Method, set-name: Private generic functions
Method, set-name: Private generic functions
Method, set-net: Private generic functions
Method, set-node-order: Private generic functions
Method, set-parents: Private generic functions
Method, set-states: Private generic functions
Method, shuffle: Private generic functions
Method, shuffle: Private generic functions
Method, shuffle: Private generic functions
Method, states: Public generic functions
Method, states: Public generic functions
Method, table: Private generic functions
Method, tree: Private generic functions
moral: Private ordinary functions
multf: Private macros
multiply-floats: Private macros

N
name: Public generic functions
name: Public generic functions
name: Public generic functions
name: Public generic functions
neighbour: Private ordinary functions
neighbours: Private ordinary functions
net: Public generic functions
net: Public generic functions
net: Public generic functions
net-graph: Private ordinary functions
net-masks: Private ordinary functions
node: Public generic functions
node: Public generic functions
node: Public generic functions
node: Public generic functions
node: Public generic functions
node-combinations: Private ordinary functions
node-order: Public generic functions
node-order: Public generic functions
node-vec: Private generic functions
node-vec: Private generic functions
nodes: Private generic functions
nodes: Private generic functions
nodes: Private generic functions
normalize: Private ordinary functions
num-arcs: Private ordinary functions
num-nodes: Public generic functions
num-nodes: Public generic functions
num-nodes-1: Private ordinary functions
num-states: Public generic functions
num-states: Public generic functions
num-states-1: Private ordinary functions

O
obs: Private generic functions
obs: Private generic functions
obs: Private generic functions
order-vector: Private ordinary functions

P
parent-indices: Private generic functions
parent-indices: Private generic functions
parent-vec: Private generic functions
parent-vec: Private generic functions
parents: Public generic functions
parents: Public generic functions
parse-ace-node: Private ordinary functions
parse-ace-potential: Private ordinary functions
parse-ace-stream: Private ordinary functions
parse-netica-net: Private ordinary functions
parse-netica-node: Private ordinary functions
parse-netica-stream: Private ordinary functions
path: Private ordinary functions
post-process-plus: Private ordinary functions
post-process-times: Private ordinary functions
potential: Private generic functions
potential: Private generic functions
preprocess-network: Private ordinary functions
preprocess-node: Private ordinary functions
properties: Private generic functions
properties: Private generic functions
properties: Private generic functions
push-form: Private ordinary functions

Q
query: Public ordinary functions

R
random-choose: Private ordinary functions
random-evidence: Private ordinary functions
random-graph: Private ordinary functions
random-network: Private ordinary functions
random-prob: Private ordinary functions
random-table: Private ordinary functions
reset-potential: Private macros
returnit: Private macros
roots: Private ordinary functions

S
save-evidence: Private macros
sep-cost: Private ordinary functions
sep-mass: Private ordinary functions
sep-sets: Private ordinary functions
set-*: Private ordinary functions
set-+: Private ordinary functions
set-match: Private ordinary functions
set-name: Private generic functions
set-name: Private generic functions
set-name: Private generic functions
set-net: Private generic functions
set-net: Private generic functions
set-node-order: Private generic functions
set-node-order: Private generic functions
set-parents: Private generic functions
set-parents: Private generic functions
set-states: Private generic functions
set-states: Private generic functions
shuffle: Private generic functions
shuffle: Private generic functions
shuffle: Private generic functions
shuffle: Private generic functions
split: Private ordinary functions
split-probs: Private ordinary functions
statep: Private ordinary functions
states: Public generic functions
states: Public generic functions
states: Public generic functions
sum-floats: Private macros
symmetric: Private ordinary functions

T
table: Private generic functions
table: Private generic functions
table-lookup: Private ordinary functions
test-net-random: Private ordinary functions
traverse: Private ordinary functions
tree: Private generic functions
tree: Private generic functions
tree-depth: Private ordinary functions
trie-bottom-p: Private ordinary functions
trie-branch: Private ordinary functions
trie-branch-count: Private ordinary functions
trie-branch-values: Private ordinary functions
trie-clear: Private ordinary functions
trie-count: Private ordinary functions
trie-insert: Private ordinary functions
trie-list-bottom: Private ordinary functions
trie-list-depth: Private ordinary functions
trie-list-values: Private ordinary functions
trie-map-b: Private ordinary functions
trie-map-branches: Private ordinary functions
trie-map-key-value: Private ordinary functions
trie-map-trie: Private ordinary functions
trie-map-values: Private ordinary functions
trie-p: Private ordinary functions
trie-prune: Private ordinary functions
trie-search: Private ordinary functions
trie-test: Private ordinary functions
trie-value: Private ordinary functions

U
use-compiled-c: Public ordinary functions
use-interpreted: Public ordinary functions
use-join-tree: Public ordinary functions

V
vecfn: Private ordinary functions
vlength: Private macros

W
weight-cluster: Private ordinary functions
while: Private macros
with-calculation: Private macros
with-calculation-context: Private macros
with-evidence: Public macros
with-gensyms: Private macros

X
xmlbif-add-definition: Private ordinary functions
xmlbif-add-variable: Private ordinary functions


A.3 Variables

Jump to:   *   +  
A   B   C   E   F   I   J   L   M   N   O   P   S   T   V  
Index Entry  Section

*
*-lookup: Public classes
*calculation-context*: Private special variables
*gcc-format-string*: Private special variables
*temporary-directory*: Private special variables

+
+-lookup: Public classes
+trie-hash-threshold+: Private constants

A
all-sep-sets: Public classes
assignment: Public classes
assignment: Public classes
assignment: Private classes

B
branch: Private structures

C
clean-potential: Private classes
cliques: Public classes
clusters: Public classes
compiled: Public classes
consistent: Public classes
Constant, +trie-hash-threshold+: Private constants
count: Private structures

E
evidence: Public classes
evidence: Public classes
evidence: Private classes

F
form-count: Public classes
forms: Public classes

I
index: Public classes
index: Private classes

J
join-tree: Private classes

L
links: Public classes

M
mark: Private classes
mask: Private classes
match-lookup: Public classes

N
name: Public classes
name: Public classes
name: Private classes
net: Public classes
net: Public classes
node-order: Public classes
node-vec: Public classes
nodes: Public classes
nodes: Public classes
num-nodes: Public classes
num-states: Public classes

O
obs: Public classes
obs: Private classes

P
parent-indices: Public classes
parent-vec: Public classes
parents: Public classes
potential: Private classes
properties: Public classes
properties: Public classes

S
Slot, *-lookup: Public classes
Slot, +-lookup: Public classes
Slot, all-sep-sets: Public classes
Slot, assignment: Public classes
Slot, assignment: Public classes
Slot, assignment: Private classes
Slot, branch: Private structures
Slot, clean-potential: Private classes
Slot, cliques: Public classes
Slot, clusters: Public classes
Slot, compiled: Public classes
Slot, consistent: Public classes
Slot, count: Private structures
Slot, evidence: Public classes
Slot, evidence: Public classes
Slot, evidence: Private classes
Slot, form-count: Public classes
Slot, forms: Public classes
Slot, index: Public classes
Slot, index: Private classes
Slot, join-tree: Private classes
Slot, links: Public classes
Slot, mark: Private classes
Slot, mask: Private classes
Slot, match-lookup: Public classes
Slot, name: Public classes
Slot, name: Public classes
Slot, name: Private classes
Slot, net: Public classes
Slot, net: Public classes
Slot, node-order: Public classes
Slot, node-vec: Public classes
Slot, nodes: Public classes
Slot, nodes: Public classes
Slot, num-nodes: Public classes
Slot, num-states: Public classes
Slot, obs: Public classes
Slot, obs: Private classes
Slot, parent-indices: Public classes
Slot, parent-vec: Public classes
Slot, parents: Public classes
Slot, potential: Private classes
Slot, properties: Public classes
Slot, properties: Public classes
Slot, states: Public classes
Slot, states: Private classes
Slot, table: Public classes
Slot, test: Private structures
Slot, tree: Public classes
Slot, value: Private structures
Special Variable, *calculation-context*: Private special variables
Special Variable, *gcc-format-string*: Private special variables
Special Variable, *temporary-directory*: Private special variables
states: Public classes
states: Private classes

T
table: Public classes
test: Private structures
tree: Public classes

V
value: Private structures


A.4 Data types

Jump to:   B   C   E   F   I   J   M   N   P   S   T   U  
Index Entry  Section

B
bn-utils.lisp: The cl-bayesnet/src/bn-utils․lisp file
bn.lisp: The cl-bayesnet/src/bn․lisp file

C
cl-bayesnet: The cl-bayesnet system
cl-bayesnet: The cl-bayesnet package
cl-bayesnet.asd: The cl-bayesnet/cl-bayesnet․asd file
Class, cluster: Private classes
Class, instructions: Public classes
Class, join-tree: Public classes
Class, jt-node: Private classes
Class, net: Public classes
Class, node: Public classes
Class, potential-container: Private classes
Class, sep-set: Private classes
clique-tree.lisp: The cl-bayesnet/src/clique-tree․lisp file
cluster: Private classes
compiler.lisp: The cl-bayesnet/src/compiler․lisp file

E
emit-c.lisp: The cl-bayesnet/src/emit-c․lisp file
evidence.lisp: The cl-bayesnet/src/evidence․lisp file

F
File, bn-utils.lisp: The cl-bayesnet/src/bn-utils․lisp file
File, bn.lisp: The cl-bayesnet/src/bn․lisp file
File, cl-bayesnet.asd: The cl-bayesnet/cl-bayesnet․asd file
File, clique-tree.lisp: The cl-bayesnet/src/clique-tree․lisp file
File, compiler.lisp: The cl-bayesnet/src/compiler․lisp file
File, emit-c.lisp: The cl-bayesnet/src/emit-c․lisp file
File, evidence.lisp: The cl-bayesnet/src/evidence․lisp file
File, message.lisp: The cl-bayesnet/src/message․lisp file
File, packages.lisp: The cl-bayesnet/src/packages․lisp file
File, parse-network.lisp: The cl-bayesnet/src/parse-network․lisp file
File, test.lisp: The cl-bayesnet/src/test․lisp file
File, tries.lisp: The cl-bayesnet/src/tries․lisp file
File, utils.lisp: The cl-bayesnet/src/utils․lisp file

I
instructions: Public classes

J
join-tree: Public classes
jt-node: Private classes

M
message.lisp: The cl-bayesnet/src/message․lisp file
Module, src: The cl-bayesnet/src module

N
net: Public classes
node: Public classes

P
Package, cl-bayesnet: The cl-bayesnet package
packages.lisp: The cl-bayesnet/src/packages․lisp file
parse-network.lisp: The cl-bayesnet/src/parse-network․lisp file
potential-container: Private classes

S
sep-set: Private classes
src: The cl-bayesnet/src module
Structure, trie: Private structures
System, cl-bayesnet: The cl-bayesnet system

T
test.lisp: The cl-bayesnet/src/test․lisp file
trie: Private structures
tries.lisp: The cl-bayesnet/src/tries․lisp file

U
utils.lisp: The cl-bayesnet/src/utils․lisp file