pylibmgm.Graph
- class pylibmgm.Graph
Represents a single graph in a multi-graph matching problem.
A graph is defined by an ID and the number of nodes it contains.
Methods
__init__(graph_id, no_nodes)Create a graph.
Attributes
Name
Type
Description
id
int
Unique graph identifier.
no_nodes
int
Number of nodes in the graph.
- __init__(graph_id: int, no_nodes: int) None
Create a graph.
- Parameters:
graph_id (int) – Unique identifier for the graph.
no_nodes (int) – Number of nodes in the graph.