submodlib
submodlib copied to clipboard
Implement own submodular function
I would like to implement my own submodular function classes, inheriting the SetFunction
class. However, I couldn't figure out how to do it. It's not easy to see how to do this, or whether it is possible to do this, because much of the implementation is abstracted away by the calls to cpp_obj
. Is there a way to achieve what I want?