dimod.AdjDictBQM.degree

AdjDictBQM.degree(v)[source]

The number of variables sharing an interaction with v.