org.micropsi.nodenet
Class DeactivatorNode

java.lang.Object
  extended byorg.micropsi.nodenet.NetEntity
      extended byorg.micropsi.nodenet.Node
          extended byorg.micropsi.nodenet.DeactivatorNode
All Implemented Interfaces:
GateTypesIF, NetIntegrityIF

public class DeactivatorNode
extends Node

Complementary to ActivatorNodes, DeactivatorNodes lower the activation on all slots in the NodeSpace they are attached to. When activated, DeactivatorNodes take the amount of their own activation out of the slots of the Nodes in the 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 DeactivatorNode(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

DeactivatorNode

protected DeactivatorNode(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

.