CliqueTrees.jl lets you input vertex weights along with a graph.
label, tree = cliquetree(weights, graph)
In principle, a vertex weight can be any nonnegative real number. In practice, CliqueTrees.jl assumes that the weight of each vertex is greater than or equal to one. This assumption is not checked, and violating it can cause mysterious bugs, segmentation faults, etc.
CliqueTrees.jl lets you input vertex weights along with a graph.
In principle, a vertex weight can be any nonnegative real number. In practice, CliqueTrees.jl assumes that the weight of each vertex is greater than or equal to one. This assumption is not checked, and violating it can cause mysterious bugs, segmentation faults, etc.