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

Description

A NanoBrain which can be used to control a gameobject.

A NanoBrain is a small neural network which can be used to implement functional behaviour. The network consists of neurons which are connected together with synapses. The output values of the neurons are of type Vector3 to support spatial computing.

This component is basically a Unity representation of a nanobrain cluster.

See also

Inherits MonoBehaviour.

Static Public Member Functions

static void UpdateWeight (Cluster brain, string name, float weight)
 Update the weight for all Synapses coming from the Neuron with the given name.
 

Public Attributes

ClusterPrefab brainPrefab
 The Cluster prefab from which the cluster is created.
 

Properties

Cluster brain [get]
 The cluster isntance.
 

Member Function Documentation

◆ UpdateWeight()

static void UpdateWeight ( Cluster  brain,
string  name,
float  weight 
)
static

Update the weight for all Synapses coming from the Neuron with the given name.

Parameters
brainThe cluster in which the synapses are updated
nameThe name of the Neuron for which the weights are updated
weightThe new Synapse weight