Create algorithm object. :param config: Algorithm options. :type config: :class:`dict` :returns: :class:`int` -- the ID of the constructed object.
(config)
| 26 | from . import algorithm_c as a |
| 27 | |
| 28 | def create(config): |
| 29 | """Create algorithm object. |
| 30 | |
| 31 | :param config: Algorithm options. |
| 32 | :type config: :class:`dict` |
| 33 | :returns: :class:`int` -- the ID of the constructed object. |
| 34 | |
| 35 | """ |
| 36 | return a.create(config) |
| 37 | |
| 38 | def run(i, iterations=1): |
| 39 | """Run an algorithm. |