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.
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.PlacementAlgorithm) → _pygrenade_vx_network.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.PlacementAlgorithm) → None Reset all members of the algorithm. Used during testing.
-
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.
-