CLabelState#
- class graph_tool.inference.CLabelState(g, b, clabel=None, pclabel=None, label_type='int64_t')[source]#
Bases:
ABCBase state that implements partition contraints.
Methods
get_bclabel([clabel])Returns a
VertexPropertyMapcorresponding to constraint labels for the block graph.Returns a
VertexPropertyMapcorresponding to partition constraint labels for the block graph.- get_bclabel(clabel=None)[source]#
Returns a
VertexPropertyMapcorresponding to constraint labels for the block graph.
- get_bpclabel()[source]#
Returns a
VertexPropertyMapcorresponding to partition constraint labels for the block graph.