ml4co_kit.generator.graph.mcut
Generator for Maximum Cut (MCut) instances.
Classes
|
Generator for Maximum Cut (MCut) instances. |
- class ml4co_kit.generator.graph.mcut.MCutGenerator(distribution_type: ~ml4co_kit.generator.graph.base.GRAPH_TYPE = GRAPH_TYPE.ER, precision: ~numpy.float32 | ~numpy.float64 = <class 'numpy.float32'>, nodes_num_scale: tuple = (200, 300), er_prob: float = 0.15, ba_conn_degree: int = 4, hk_prob: float = 0.3, hk_conn_degree: int = 10, ws_prob: float = 0.3, ws_ring_neighbors: int = 2, rb_n_scale: tuple = (20, 25), rb_k_scale: tuple = (5, 12), rb_p_scale: tuple = (0.3, 1.0), edge_weighted: bool = False, edge_weighted_gen: ~ml4co_kit.generator.graph.base.GraphWeightGenerator = <ml4co_kit.generator.graph.base.GraphWeightGenerator object>)[source]
Bases:
GraphGeneratorBaseGenerator for Maximum Cut (MCut) instances.