MCPcopy Create free account
hub / github.com/astra-toolbox/astra-toolbox / create

Function create

python/astra/algorithm.py:28–36  ·  view source on GitHub ↗

Create algorithm object. :param config: Algorithm options. :type config: :class:`dict` :returns: :class:`int` -- the ID of the constructed object.

(config)

Source from the content-addressed store, hash-verified

26from . import algorithm_c as a
27
28def 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
38def run(i, iterations=1):
39 """Run an algorithm.

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected