ProblemData#
- class iqm.applications.graph_utils.ProblemData(graph, orig_to_new_mapping, fixed_vars, bitstring, highlight_edge_by_node_count)[source]#
Bases:
objectNormalized problem information extracted and validated before plotting.
Attributes
The problem graph to be visualized.
Mapping of original variable names to integer node indices.
Set of variables that were fixed in the optimization problem instance.
Bitstring representing highlighted (active) nodes in the solution.
Rule describing which edges to highlight based on how many connected nodes are highlighted.
Methods
__delattr__(name)Implement delattr(self, name).
__eq__(other)Return self==value.
__hash__()Return hash(self).
__repr__()Return repr(self).
__setattr__(name, value)Implement setattr(self, name, value).
- Parameters: