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

Description

A Nucleus is a basic element in a brain cluster.

Inheritance diagram for Nucleus:
Cluster Neuron MemoryCell

Public Types

enum  Type { None , Neuron , MemoryCell , Cluster }
 Function to clone a nucleus to a Cluster prefab. More...
 

Public Member Functions

Nucleus ShallowCloneTo (Cluster parent)
 Toggle for printing debugging trace data.
 
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 Enumeration Documentation

◆ Type

enum Type

Function to clone a nucleus to a Cluster prefab.

Parameters
prefab
Returns

The types of Nucleus

Member Function Documentation

◆ ShallowCloneTo()

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

Member Data Documentation

◆ parent

Cluster parent

The cluster prefab in which the nucleus is located.

The cluster instance in which the nucleus is located