Nano Brain for Unity v0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
ClusterPrefab Class Reference

Description

The Unity ScriptableObject to implement re-usable Cluster Prefabs.

Inherits ScriptableObject.

Public Member Functions

void RefreshOutputs ()
 Redetermine the outpus in the cluster.
 
Nucleus GetNucleus (string nucleusName)
 Retrieve a nucleus in this cluster.
 
void EnsureInitialization ()
 
void GarbageCollection ()
 
void MarkNuclei (HashSet< Nucleus > visitedNuclei, Nucleus nucleus)
 
virtual void UpdateNuclei ()
 
int GetNucleusIndex (Nucleus receiver)
 

Public Attributes

List< Nucleus > nuclei = new()
 The nuclei in this cluster.
 
List< Nucleus > _inputs = null
 The nuclei in this cluster which are meant for receiving signals from outside the cluster.
 

Properties

virtual Nucleus output [get]
 The output of this cluster.
 
virtual List< Nucleus > inputs [get]
 
List< Nucleus > outputs [get]
 

Member Function Documentation

◆ GetNucleus()

Nucleus ClusterPrefab.GetNucleus ( string  nucleusName)

Retrieve a nucleus in this cluster.

Parameters
nucleusNameThe name of the nucleus
Returns
The Nucleus with the given name or null if no such Nucleus could be found

Member Data Documentation

◆ _inputs

List<Nucleus> ClusterPrefab._inputs = null

The nuclei in this cluster which are meant for receiving signals from outside the cluster.

<remark>This is currently the nuclei which do not have any incoming synapse</remark>

Property Documentation

◆ output

virtual Nucleus ClusterPrefab.output
get

The output of this cluster.

<deprecated>This only returens the first(default) nucleus. Use outputs[0] instead</deprecated>


The documentation for this class was generated from the following file: