Class BddCompiler
java.lang.Object
software.amazon.smithy.rulesengine.logic.bdd.BddCompiler
BDD compiler that builds a BDD from a CFG.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile()
Compile the CFG into a BDD.The ordered result rules after BDD compilation.Get the ordered conditions referenced in the compiled BDD.
-
Constructor Details
-
BddCompiler
- Parameters:
cfg
- CFG to convert to a BDD.
-
-
Method Details
-
compile
Compile the CFG into a BDD.- Returns:
- the compiled BDD.
-
getIndexedResults
The ordered result rules after BDD compilation.- Returns:
- ordered BDD result rules.
-
getOrderedConditions
Get the ordered conditions referenced in the compiled BDD.- Returns:
- the ordered BDD conditions.
-