pygrenade_vx.network.abstract.PlacementAlgorithm

class pygrenade_vx.network.abstract.PlacementAlgorithm

Bases: pybind11_builtins.pybind11_object

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

clone(self)

Clone the algorithm.

reset(self)

Reset all members of the algorithm.

run(self, coordinate_system, neuron, resources)

Execute Placement Algorithm.

valid(self, coordiante_system, neuron, resources)

Check if the coordinate system is in a valid configuration for the given target neuron.

clone(self: _pygrenade_vx_network_abstract.PlacementAlgorithm)_pygrenade_vx_network_abstract.PlacementAlgorithm

Clone the algorithm. Since PlacementAlgorithm is an abstract class it can not be passed by value. Therefore a pointer is returned.

reset(self: _pygrenade_vx_network_abstract.PlacementAlgorithm)None

Reset all members of the algorithm. Used during testing.

run(self: _pygrenade_vx_network_abstract.PlacementAlgorithm, coordinate_system: _pygrenade_vx_network_abstract.CoordinateSystem, neuron: _pygrenade_vx_network_abstract.Neuron, resources: _pygrenade_vx_network_abstract.ResourceManager)_pygrenade_vx_network_abstract.AlgorithmResult

Execute Placement Algorithm.

valid(self: _pygrenade_vx_network_abstract.PlacementAlgorithm, coordiante_system: _pygrenade_vx_network_abstract.CoordinateSystem, neuron: _pygrenade_vx_network_abstract.Neuron, resources: _pygrenade_vx_network_abstract.ResourceManager)bool

Check if the coordinate system is in a valid configuration for the given target neuron.