DOKK / manpages / debian 10 / alliance / getablexprmin.3.en
GETABLEXPRMIN(3) ABL FUNCTIONS GETABLEXPRMIN(3)

getablexprmin - applies a function to all operands.

See the file buster/alliance/alc_origin.1.en.gz.

#include "abl101.h"
chain_list ∗getablexprmin( Function, Expr )

int (∗Function)();
chain_list ∗Expr;

Cost function.
Expression to scan.

getablexprmin applies the cost function Function to all operands of Expr.

getablexprmin returns the operand for which unction gives the minimum cost. The expression pointer returned MUSTN'T be modified after the call to this function.

getablexprmin error ...

#include "abl101.h"

int MapFunction( MapExpr )
chain_list ∗MapExpr;
{
return( getabldepthexpr( MapExpr ) );
}
...
chain_list ∗Expr;
chain_list ∗Expr1;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
Expr1 = getablexprmin( MapFunction, Expr );

abl(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6