![]() | ![]() | ![]() | Pseudo Probabilities | ![]() |
The :gbbopen-tools
module provides a discretized fixnum
representation for probability values in which probability values in the range
[0.0..1.0] are represented as the nearest integers in the range [0..1000].
The following pseudo-probability
operators are provided:
Operator | Operation | Example | |||
% | the pseudo-probability | (% x) | |||
+% | +& | (+% x y z) | |||
-% | -& | (-% x y z) | |||
1+% | 1+& | (1+% x) | |||
1-% | 1-& | (1-% x) | |||
*% | normalizing *& | (*% x y z) | |||
/% | normalizing /& | (/% x y z) | |||
=% | =& | (=% x y z) | |||
/=% | /=& | (/=% x y z) | |||
<% | <& | (<% x y z) | |||
<=% | <=& | (<=% x y z) | |||
>% | >& | (>% x y z) | |||
>=% | >=& | (>=% x y z) | |||
abs% | abs& | (abs% x) | |||
bounded-value% | bounded-value&
| (bounded-value% x y z) | |||
ceiling% | normalizing ceiling&
| (ceiling% x divisor) | |||
decf% | decf& | (decf% x delta) | |||
decf-%after | decf-after&
| (decf%-after x delta) | |||
decf/delete%-acons | decf/delete-acons&
| (decf/delete%-acons | |||
x delta alist) | |||||
evenp% | evenp& | (evenp% x) | |||
fceiling% | normalizing fceiling&
| (fceiling% x divisor) | |||
floor% | normalizing floor&
| (floor% x divisor) | |||
ffloor% | normalizing ffloor&
| (ffloor% x divisor) | |||
fround% | normalizing fround&
| (fround% x divisor) | |||
ftruncate% | normalizing ftruncate&
| (ftruncate% x divisor) | |||
incf% | incf& | (incf% x delta) | |||
incf%-after | incf-after&
| (incf%-after x delta) | |||
max% | max& | (max% x y z) | |||
min% | min& | (min% x y z) | |||
minusp% | minusp& | (minusp% x) | |||
mod% | mod& | (mod% x divisor) | |||
oddp% | oddp& | (oddp% x) | |||
plusp% | plusp& | (plusp% x) | |||
pushnew/incf%-acons | pushnew/incf-acons&
| (pushnew/incf%-acons | |||
'x delta alist) | |||||
round% | normalizing round&
| (round% x divisor) | |||
truncate% | normalizing truncate&
| (truncate% x divisor) | |||
zerop% | zerop& | (zerop% x) | |||
Entities
The GBBopen Project
![]() | ![]() | ![]() | Pseudo Probabilities | ![]() |