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
We discussed, degree needs to stay in its current behavior (otherwise it'd be breaking) but we should add functions to get the in and out degree (in_degree and out_degree? For tab completion, degree_in might be nicer`???). And then the docstrings should point to each others.
Not sure if it is a good idea, but... we could have both in_degree and degree_in so that TAB completion is helpful and so that we have a mnemonic name. In the discussion it was stated that currently directed graphs in OSCAR must be "simple" (i.e. no loops, and no multiple edges); it would be good if the design of the functions is flexible enough to permit possible future extensions to the sorts of graph OSCAR can handle.
There is a bug in
degree(::Graph, ::Int)
function, which you can check by runningI will prepare a pull-request shortly.
The text was updated successfully, but these errors were encountered: