ml4co_kit.generator.routing.tsp.op
Generator for Orienteering Problem (OP) instances.
Classes
|
Generator for Orienteering Problem (OP) instances. |
|
Define the OP types as an enumeration. |
- class ml4co_kit.generator.routing.tsp.op.OPGenerator(distribution_type: ~ml4co_kit.generator.routing.tsp.op.OP_TYPE = OP_TYPE.UNIFORM, precision: ~numpy.float32 | ~numpy.float64 = <class 'numpy.float32'>, nodes_num: int = 50, max_length: float = 3.0, uniform_scale: tuple = (1, 100))[source]
Bases:
RoutingGeneratorBaseGenerator for Orienteering Problem (OP) instances.