GETABLEXPRMIN(3)
π GETABLEXPRMIN π
okay bestie, gather round, because we're about to talk about getablexprmin from the ABL FUNCTIONS crew (that's section 3 of the manual, iykyk). she's a real one. she takes your expression, runs your little cost function over every single operand, and hands you back the winner. main character energy fr fr. π
πΈ ORIGIN πΈ
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. β¨ (yes we're being international about it, slay)
- Web: http://asim.lip6.fr/recherche/alliance/
- E-mail: alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "abl101.h"
chain_list βgetablexprmin( Function, Expr )
int (βFunction)();
chain_list βExpr;
π«Ά PARAMETERS π«Ά
Functionβ the cost function. she's the one doing the judging, no pressure babe πExprβ the expression we're scanning. the subject of the vibe check. π
π DESCRIPTION π
getablexprmin applies the cost function Function to all the operands of Expr. like, every single one. nobody gets skipped. π
β RETURN VALUE β
getablexprmin returns the operand for which the function gives the minimum cost. the cheapest one. the budget queen. π
π¨ BESTIE LISTEN π¨ the expression pointer returned MUSTN'T be modified after the call to this function. not even a little. hands off. no cap. π
π ERRORS π
getablexprmin error ...
π EXAMPLE π
#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 );
look at her go. iconic behaviour honestly. π₯
π¦ SEE ALSO π¦
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. (yes literally, they want your thoughts, drop them in the group chat bestie, it's giving community π«Ά)
mwah π that's the whole page. this one came from ASIM/LIP6, dated October 1, 1997, and it lives in section 3 of the manual as GETABLEXPRMIN(3). go forth and find your minimum. periodt. π
β¨
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms