pygrenade_vx.network.PlacementAlgorithmDummy

class pygrenade_vx.network.PlacementAlgorithmDummy

Bases: _pygrenade_vx_network.PlacementAlgorithm

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: _pygrenade_vx_network.PlacementAlgorithmDummy) -> None

  2. __init__(self: _pygrenade_vx_network.PlacementAlgorithmDummy, configuration: _pygrenade_vx_network.CoordinateSystem) -> None

  3. __init__(self: _pygrenade_vx_network.PlacementAlgorithmDummy, arg0: _pygrenade_vx_network.PlacementAlgorithmDummy) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

clone(self)

Clone the algorithm.

reset(self)

Reset all members of the algorithm.

run(self, configuration_start, neuron_in, …)

Attributes

coordinate_system

clone(self: _pygrenade_vx_network.PlacementAlgorithmDummy)_pygrenade_vx_network.PlacementAlgorithm

Clone the algorithm. Only clones the initial state of the algorithm. New algorithm is in state as after reset(). Since PlacementAlgorithm is the abstract base class the algorithm is passed as a pointer. This allows to pass the algorithm polymorphically to functions.

property coordinate_system
reset(self: _pygrenade_vx_network.PlacementAlgorithmDummy)None

Reset all members of the algorithm. Used during testing.

run(self: _pygrenade_vx_network.PlacementAlgorithmDummy, configuration_start: _pygrenade_vx_network.CoordinateSystem, neuron_in: _pygrenade_vx_network.Neuron, resources: _pygrenade_vx_network.ResourceManager)_pygrenade_vx_network.AlgorithmResult