|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.memphis.ccrg.lida.framework.shared.NodeStructureImpl edu.memphis.ccrg.lida.pam.PerceptualAssociativeMemoryImpl.PamNodeStructure
protected static class PerceptualAssociativeMemoryImpl.PamNodeStructure
Internal implementation of NodeStructureImpl
. Allows Node
to be added without copying them.
Constructor Summary | |
---|---|
PerceptualAssociativeMemoryImpl.PamNodeStructure(java.lang.String nodeType,
java.lang.String linkType)
|
Method Summary | |
---|---|
Node |
addNode(Node n,
boolean copy)
If copy is false, this method adds a already generated Node
to this NodeStructure without copying it. |
Methods inherited from class edu.memphis.ccrg.lida.framework.shared.NodeStructureImpl |
---|
addDefaultLink, addDefaultLink, addDefaultLink, addDefaultLink, addDefaultLinks, addDefaultNode, addDefaultNode, addDefaultNodes, addLink, addLink, addLink, addNode, addNode, clearLinks, clearNodeStructure, compareNodeStructures, containsLink, containsLink, containsLinkable, containsLinkable, containsNode, containsNode, containsNode, copy, decayNodeStructure, getAttachedLinks, getAttachedLinks, getConnectedSinks, getConnectedSources, getDefaultLinkType, getDefaultNodeType, getLink, getLinkable, getLinkableCount, getLinkableMap, getLinkables, getLinkCount, getLinks, getLinks, getNewLink, getNewNode, getNode, getNode, getNodeCount, getNodes, getSubgraph, getSubgraph, mergeWith, removeLink, removeLinkable, removeLinkable, removeNode, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PerceptualAssociativeMemoryImpl.PamNodeStructure(java.lang.String nodeType, java.lang.String linkType)
nodeType
- Default node typelinkType
- Default link typeMethod Detail |
---|
public Node addNode(Node n, boolean copy)
NodeStructureImpl
Node
to this NodeStructure without copying it.
If copy is true, NodeStructure.addDefaultNode(Node)
is used.
If a Node with the same id is already in this NodeStructure, the new
Node is not added.
This method is intended for internal use only.
addNode
in class NodeStructureImpl
n
- the Node to addcopy
- determines if the node is copied or not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |