|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.micropsi.nodenet.NetEntity
org.micropsi.nodenet.Node
org.micropsi.nodenet.ActorNode
Node that writes its activation to an ActorDataTarget.
ActorDataTargetIF| Field Summary | |
protected java.lang.String |
dataTarget
|
protected SensActRegistry |
sensorReg
|
| 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 |
ActorNode(java.lang.String nodeID,
NetEntityManager manager,
SensActRegistry sensorReg)
Constructor. |
| Method Summary | |
protected void |
calculateGates()
Extended to write to the data target and set the GEN gate with the success of the execution |
void |
connectActor(java.lang.String dataTarget)
Connects the ActorNode to the given dataTarget. |
void |
disconnectActor()
Disconnects the ActorNode from it's current dataTarget. |
java.lang.String |
getDataType()
Returns the dataTarget the ActorNode is connected to. |
boolean |
isConnected()
Checks if the ActorNode is connected. |
protected void |
use()
Some nodes perform low-level java operations when activated. |
| Methods inherited from class org.micropsi.nodenet.Node |
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 |
| Field Detail |
protected SensActRegistry sensorReg
protected java.lang.String dataTarget
| Constructor Detail |
protected ActorNode(java.lang.String nodeID,
NetEntityManager manager,
SensActRegistry sensorReg)
nodeID - the ID of this nodemanager - the entity managersensorReg - the sensor/actor registry to be used| Method Detail |
public void connectActor(java.lang.String dataTarget)
dataTarget - the dataTarget to connect to.public void disconnectActor()
public boolean isConnected()
protected void calculateGates()
throws NetIntegrityException
calculateGates in class NodeNetIntegrityExceptionNetEntity.calculateGates()
protected void use()
throws NetIntegrityException
Node
use in class NodeNetIntegrityException - if something is wrong with the netNode.use()public java.lang.String getDataType()
|
(c) by Micropsi Project: http://www.cognitive-agents.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||