SubNeuroHeuristicUnitModel¶
Full Name
neuroptimiser.core.models.SubNeuroHeuristicUnitModel
Description
- class SubNeuroHeuristicUnitModel[source]¶
Bases:
AbstractSubProcessModelSub-process model for NeuroHeuristicUnit
This model implements the sub-process structure of a NeuroHeuristicUnit, which includes a spiking core, a selector for position evaluation, and handlers for spiking signals and positions. It connects these components to form a complete perturbation-based nheuristic process.
See also
neuroptimiser.core.processes.NeuroHeuristicUnitProcess that implements a NeuroHeuristicUnit for perturbation-based nheuristics.
neuroptimiser.core.processes.TwoDimSpikingCoreProcess that implements a two-dimensional spiking core for perturbation-based nheuristics.
neuroptimiser.core.processes.SelectorProcess that selects the best position based on a fitness function.
neuroptimiser.core.processes.SpikingHandlerProcess that handles spiking signals in the NeuroHeuristicUnit.
neuroptimiser.core.processes.PositionSenderProcess that sends the position of the agent in the NeuroHeuristicUnit.
neuroptimiser.core.processes.PositionReceiverProcess that receives the positions of neighbouring agents in the NeuroHeuristicUnit.
- __init__(proc: NeuroHeuristicUnit)[source]¶
Builds sub Process structure of the Process.
- Parameters:
proc (NeuroHeuristicUnit) – The process to build the sub-process structure for.
proc.proc_params (dict) –
- A dictionary containing the parameters for the process model. It must include:
agent_id: int, identifier of the agentnum_dimensions: int, number of dimensions in the problem spacenum_agents: int, number of agents in the systemnum_neighbours: int, number of neighbouring agents (default: 0)spiking_core: str, type of spiking core to use (default: “TwoDimSpikingCore”)function: callable, function to evaluate the fitness of a positioncore_params: dict, parameters for the spiking coreselector_params: dict, parameters for the selector
- implements_process¶
alias of
NeuroHeuristicUnit
- implements_protocol¶
alias of
LoihiProtocol