mis.shared.types
Classes
-
BackendType — Type of backend to use for solving the MIS
Bases : str, Enum
Type of backend to use for solving the MIS
Attributes
-
QUTIP
-
REMOTE_QPU
-
REMOTE_EMUMPS
Bases : str, Enum
Attributes
-
EAGER
-
GREEDY
Methods
-
draw — Draw instance graph with highlighted nodes.
Draw instance graph with highlighted nodes.
Parameters
-
```
-
nodes : list[int] — List of nodes to highlight.
-
node_size : int — Size of drawn nodes in drawn graph. (default: 600)
-
highlight_color : str — Color to highlight nodes with. (default: "red")
-
```
Raises
-
Exception
Methods
-
draw — Draw instance graph with solution nodes highlighted.
Draw instance graph with solution nodes highlighted.
Parameters
-
```
-
node_size : int — Size of drawn nodes in drawn graph. (default: 600)
-
highlight_color : str — Color to highlight nodes with. (default: "red")
-
```