org.micropsi.nodenet
Class ActivatorNode

java.lang.Object
  extended byorg.micropsi.nodenet.NetEntity
      extended byorg.micropsi.nodenet.Node
          extended byorg.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.


Field Summary
 
Fields inherited from class org.micropsi.nodenet.Node
genericLinks, genSlot
 
Fields inherited from class org.micropsi.nodenet.NetEntity
entityManager, gates, slots
 
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
 
Fields inherited from interface org.micropsi.nodenet.NetIntegrityIF
BAD_KEY, BAD_LINK, BAD_OUTPUT_FUNCTION, BAD_SLOT, DUPLICATE_KEY, UNKNOWN_ENTITY, UNKNOWN_MODULE
 
Constructor Summary
protected ActivatorNode(java.lang.String nodeID, NetEntityManager manager)
           
 
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.Node
calculateGates, getEntityType, getGenActivation, getType, propagateActivation
 
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
 

Constructor Detail

ActivatorNode

protected ActivatorNode(java.lang.String nodeID,
                        NetEntityManager manager)
See Also:
NetEntity.NetEntity(String, NetEntityManager)
Method Detail

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

(c) by Micropsi Project: http://www.cognitive-agents.org

.