|
| __init__ (self, model, td_factory=TreeDecompositionFactory(), lazy=True) |
| Construct.
|
|
| optimize (self) |
| Optimal assignment.
|
|
| gen_cluster_tree (self) |
| ! Suitable cluster tree Returns:s arctic cluster tree for the model
|
|
| __init__ (self, model, td_factory=TreeDecompositionFactory(), lazy=True) |
| Construct with model and optional td_factory.
|
|
| requires_reinitialization (self) |
|
| setup_engine (self, *skip_ct=False) |
| Sets up the constraint model / cluster tree sampling engine.
|
|
| evaluate (self) |
| Evaluates the cluster tree.
|
|
| is_consistent (self) |
|
| plot_td (self, filename, to="pdf") |
| Plot the tree decomposition to pdf file filename write to filename to target format, support conversion to "pdf" or "png".
|
|
| treewidth (self) |
| Get tree width.
|
|
| gen_cluster_tree (self) |
| Generate the populated cluster tree td tree decomposition Returns cluster tree.
|
|
Maximizing optimizer (based on arctic algebra)