Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Connection

A connection instance describes the connection between two nodes.

Hierarchy

  • Connection

Index

Constructors

constructor

Properties

deltaWeightsPrevious

deltaWeightsPrevious: number

Tracks momentum

deltaWeightsTotal

deltaWeightsTotal: number

Tracks momentum - for batch training

eligibility

eligibility: number

eligibility

Readonly from

from: Node

Connection origin node (neuron)

gain

gain: number

Used for gating, gets multiplied with weight

gateNode

gateNode: Node | null

The node gating this connection

id

id: number

Connection id for NEAT

Readonly to

to: Node

Connection destination node (neuron)

weight

weight: number

Weight of the connection

xTrace

xTrace: Map<Node, number>

X Trace

Methods

getInnovationID

  • getInnovationID(): number

toJSON

Static fromJSON

Generated using TypeDoc