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
The standard library includes a singledispatch decorator for overloading functions to generic functions. This would be suitable as a replacement for the custom interface introduced in #1 .
Aside from being standard library, singledispatch has the advantage of keeping even Cython classes open for extension. There is a backport available that covers all versions supported by graph.
The text was updated successfully, but these errors were encountered:
graphi.operator is now a module containing the neighbours and density operators. The graphi.operator.interface has been removed. singledispatch is available as graphi.operator.singledispatch.
The standard library includes a
singledispatch
decorator for overloading functions to generic functions. This would be suitable as a replacement for the custom interface introduced in #1 .Aside from being standard library,
singledispatch
has the advantage of keeping even Cython classes open for extension. There is a backport available that covers all versions supported bygraph
.The text was updated successfully, but these errors were encountered: