You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Is there a simple way to implement an Extractor that can randomly extract a RecExpr that is equal to the initial expression of a EGraph? I hope that we can use this extractor like this:
I think it is a very useful function that can help us quickly obtain a equal expression without specifying a cost function. Could someone give me some hint that can implement this extractor in a simple way?
The text was updated successfully, but these errors were encountered:
No, nothing is built in for this. The build_recexpr function might be useful to implement this instead of an extractor. Basically you could randomly pick an enode, call build_recexpr on it, and recurse.
Hi. Is there a simple way to implement an Extractor that can randomly extract a
RecExpr
that is equal to the initial expression of a EGraph? I hope that we can use this extractor like this:I think it is a very useful function that can help us quickly obtain a equal expression without specifying a cost function. Could someone give me some hint that can implement this extractor in a simple way?
The text was updated successfully, but these errors were encountered: