org.micropsi.nodenet
Class ActivatorNode
java.lang.Object
org.micropsi.nodenet.NetEntity
org.micropsi.nodenet.Node
org.micropsi.nodenet.ActivatorNode
- All Implemented Interfaces:
- GateTypesIF, NetIntegrityIF
- public class ActivatorNode
- extends Node
An ActivatorNode can be used to increase the activation of all Nodes within
one NodeSpace. As NodeSpaces are hierarchical, this will also affect all
Nodes in the nested NodeSpaces. ActivatorNodes put, when activated, their
activation into the slots of all Nodes of their NodeSpace.
| Fields inherited from interface org.micropsi.nodenet.GateTypesIF |
GT_ASSOCIATION, GT_CAT, GT_DISSOCIATION, GT_EXP, GT_GEN, GT_POR, GT_REF, GT_RET, GT_SUB, GT_SUR, GT_SYM |
|
Method Summary |
void |
setSpace(NodeSpaceModule space)
Sets the space. |
protected void |
use()
Some nodes perform low-level java operations when activated.
|
| Methods inherited from class org.micropsi.nodenet.NetEntity |
addGate, addSlot, changeParameter, checkIntegrity, confirmNewActivation, createLinkTo, createLinkTo, deleteGate, deleteLink, deleteSlot, destroy, getEntityName, getFirstLinkAt, getGate, getGates, getID, getLastLinkAt, getLink, getNumberOfGates, getNumberOfSlots, getParentID, getSlot, getSlots, hasName, isActive, reportIntegrityStatus, setEntityName, setParentID, toString, unlinkCompletely, updateDecayState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActivatorNode
protected ActivatorNode(java.lang.String nodeID,
NetEntityManager manager)
- See Also:
NetEntity.NetEntity(String, NetEntityManager)
use
protected void use()
throws NetIntegrityException
- Description copied from class:
Node
- Some nodes perform low-level java operations when activated.
(Dissociators, activators and the like.) This method is not
meant to get java functionality into the net - use NativeModules for this
purpose!
- Specified by:
use in class Node
- Throws:
NetIntegrityException - if something is wrong with the net- See Also:
Node.use()
setSpace
public void setSpace(NodeSpaceModule space)
- Sets the space.
- Parameters:
space - The space to set
.