Description:
Takes any function and creats a pmc rule out of it. The inputs to the function
will be called ?1 ?2 ?3.... ?n. The function migth be an OM patch in the lambda state.
A rule should output either true or false, an heuristic rule should output a number.
If the inputs variable1 and/or variable2 are used, the last inputs to the rule will
always get the values from these inputs in the place of the search variable (i.e.
if variable1 is used, and the rule has 3 inputs, input 1 and to will be used for ?1 and ?2,
and input 3 will be used for the value of variable1.
|