pygrenade_vx.network.PlacementAlgorithm

class pygrenade_vx.network.PlacementAlgorithm

Bases: pybind11_builtins.pybind11_object

__init__(*args, **kwargs)

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

Methods

__init__(*args, **kwargs)

Initialize self.

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.

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

Execute Placement Algorithm.

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

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