Nano Brain for Unity v0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
NanoBrain.Nucleus Class Referenceabstract

Description

A Nucleus is a basic element in a brain cluster.

Inheritance diagram for NanoBrain.Nucleus:
NanoBrain.Cluster NanoBrain.Neuron NanoBrain.MemoryCell

Public Types

enum  Type { None , Neuron , MemoryCell , Cluster }
 The types of Nucleus.
 

Public Member Functions

Nucleus ShallowCloneTo (Cluster parent)
 Toggle for printing debugging trace data.
 
Nucleus Clone (ClusterPrefab prefab)
 Function to clone a nucleus to a Cluster prefab.
 
virtual void Initialize ()
 
void UpdateStateIsolated ()
 Update the state without updating other Nuclei.
 
virtual void UpdateNuclei ()
 Update the state and recursively all Nuclei receiving data from this Nucleus.
 

Public Attributes

string name
 The name of the Nucleus.
 
Cluster parent
 The cluster prefab in which the nucleus is located.
 

Member Function Documentation

◆ ShallowCloneTo()

Nucleus NanoBrain.Nucleus.ShallowCloneTo ( Cluster  parent)
abstract

Toggle for printing debugging trace data.

Function to make a partial clone of this nucleus

Parameters
parentThe cluster in which the cloned nucleus should be placed
Returns

◆ Clone()

Nucleus NanoBrain.Nucleus.Clone ( ClusterPrefab  prefab)
abstract

Function to clone a nucleus to a Cluster prefab.

Parameters
prefab
Returns

◆ UpdateNuclei()

virtual void NanoBrain.Nucleus.UpdateNuclei ( )
virtual

Update the state and recursively all Nuclei receiving data from this Nucleus.

Reimplemented in NanoBrain.MemoryCell.

Member Data Documentation

◆ parent

Cluster NanoBrain.Nucleus.parent

The cluster prefab in which the nucleus is located.

The cluster instance in which the nucleus is located


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