Class PerceptualAssociativeMemoryImpl.PamNodeStructure

  extended by edu.memphis.ccrg.lida.framework.shared.NodeStructureImpl
      extended by edu.memphis.ccrg.lida.pam.PerceptualAssociativeMemoryImpl.PamNodeStructure
All Implemented Interfaces:
NodeStructure, BroadcastContent, WorkspaceContent
Enclosing class:

protected static class PerceptualAssociativeMemoryImpl.PamNodeStructure
extends NodeStructureImpl

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 type
linkType - Default link type
Method Detail


public Node addNode(Node n,
                    boolean copy)
Description copied from class: NodeStructureImpl
If copy is false, this method adds a already generated 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 add
copy - determines if the node is copied or not.
The Node stored in this NodeStructure