cfand, cfor

cfand, cfor — perform and and or functions with confidence factors.

Syntax

cfand (!s_exp[,!s_exp]...)
cfor (!s_exp[,!s_exp]...)

		

Arguments

condition

Any Gamma or Lisp expression.

Returns

A confidence factor, an integer between 0 and 100.

Description

These functions determine the confidence factor of one or more expressions. cfand returns the lowest confidence factor among all of the passed conditions, while cfor returns the highest confidence factor among the conditions.

Example

Gamma> a = 3;
3
Gamma> b = 4;
4
Gamma> set_conf(a,50);
50
Gamma> set_conf(b,10);
10
Gamma> cfand(a,b);
10
Gamma> cfor(a,b);
50
Gamma>  
		

See Also

conf