dimod.CaseLabelDQM.get_cases#

CaseLabelDQM.get_cases(v)[source]#

The cases of variable v.

Returns:

List of case labels for v, if case labels exist for v.

If case labels do not exist for v, returns a list of integers from 0 to num_cases(v)() - 1.