Package network.aika.neuron.activation
Class Activation.StateChange
- java.lang.Object
-
- network.aika.neuron.activation.Activation.StateChange
-
- Enclosing class:
- Activation
public class Activation.StateChange extends java.lang.ObjectTheStateChangeclass is used to store the state change of an activation that occurs in each node of the binary search tree. When a candidate refinement is selected during the search, then the activation values of all affected activation objects are adjusted. The changes to the activation values are also propagated through the network. The old state needs to be stored here in order for the search to be able to restore the old network state before following the alternative search branch.
-
-
Field Summary
Fields Modifier and Type Field Description Activation.RoundsnewRoundsSearchNode.DecisionnewStateActivation.RoundsoldRounds
-
Constructor Summary
Constructors Constructor Description StateChange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationgetActivation()voidrestoreState(Activation.Mode m)
-
-
-
Field Detail
-
oldRounds
public Activation.Rounds oldRounds
-
newRounds
public Activation.Rounds newRounds
-
newState
public SearchNode.Decision newState
-
-
Method Detail
-
restoreState
public void restoreState(Activation.Mode m)
-
getActivation
public Activation getActivation()
-
-