dimod.AdjMapBQM.iter_neighbors

AdjMapBQM.iter_neighbors(u)

Iterate over neighbors of a variable in the binary quadratic model.

Yields:variable – The neighbors of v.