|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PerceptualAssociativeMemory
A main LIDA module which contains feature detectors, nodes, and links.
Method Summary | |
---|---|
PamLink |
addDefaultLink(Link link)
Adds a COPY of specified link to this PAM. |
java.util.Set<PamLink> |
addDefaultLinks(java.util.Set<? extends Link> links)
Adds a COPY of specified collection of PamLinks to this PAM. |
PamNode |
addDefaultNode(Node node)
Adds a COPY of specified node to this PerceptualAssociativeMemory . |
java.util.Set<PamNode> |
addDefaultNodes(java.util.Set<? extends Node> nodes)
Adds a COPY of a collection of Nodes to this PAM. |
void |
addDetectionAlgorithm(DetectionAlgorithm fd)
Adds specified DetectionAlgorithm to be run. |
LinkCategory |
addLinkCategory(LinkCategory cat)
Adds a COPY of specified LinkCategory to this PerceptualAssociativeMemory . |
void |
addLinkToPercept(Link l)
Adds Link to the percept. |
void |
addNodeStructureToPercept(NodeStructure ns)
Adds a NodeStructure to the percept. |
void |
addNodeToPercept(Node n)
Adds Node to the percept. |
void |
addPamListener(PamListener pl)
Adds PamListener . |
boolean |
containsLink(ExtendedId id)
Contains link. |
boolean |
containsLink(Link link)
Returns true if this PAM contains specified PamLink. |
boolean |
containsNode(ExtendedId id)
Contains node. |
boolean |
containsNode(Node node)
Returns true if this PAM contains specified PamNode. |
double |
getDownscaleFactor()
Gets downscaleFactor |
Link |
getLink(ExtendedId id)
|
java.util.Collection<LinkCategory> |
getLinkCategories()
Returns all categories in this Pam |
LinkCategory |
getLinkCategory(int id)
Returns LinkCategory with specified id. |
java.util.Collection<Link> |
getLinks()
Returns an unmodifiable collection of the PamLink s in this PAM as Link s. |
Node |
getNode(ExtendedId id)
Returns the PamNode with specified ExtendedId or null |
Node |
getNode(int id)
Returns the PamNode with specified id from this PAM or null. |
Node |
getNode(java.lang.String label)
Returns the PamNode with specified label or null. |
java.util.Collection<Node> |
getNodes()
Returns an unmodifiable collection of the PamNode s in this PAM as Node s. |
PropagationStrategy |
getPropagationStrategy()
Gets PropagationStrategy governing how activation is propagated in this PAM. |
double |
getUpscaleFactor()
Gets upscaleFactor |
boolean |
isOverPerceptThreshold(PamLinkable l)
Returns whether PamLinkable is above percept threshold. |
void |
propagateActivationToParents(PamNode pamNode)
Propagates activation from a PamNode to its parents. |
void |
receiveExcitation(PamLinkable linkable,
double amount)
Excites specified PamLinkable an amount of activation. |
void |
receiveExcitation(java.util.Set<PamLinkable> linkables,
double amount)
Excites PamLinkable with an amount of activation. |
void |
setDownscaleFactor(double f)
Sets downscaleFactor |
void |
setPerceptThreshold(double t)
Sets perceptThreshold |
void |
setPropagationStrategy(PropagationStrategy strategy)
Sets PropagationStrategy governing how activation is propagated in this PAM. |
void |
setUpscaleFactor(double f)
Sets upscaleFactor |
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule |
---|
addListener, addSubModule, containsSubmodule, containsSubmodule, decayModule, getAssistingTaskSpawner, getModuleContent, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule |
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.FullyInitializable |
---|
setAssociatedModule |
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable |
---|
getParam, init, init |
Method Detail |
---|
PamNode addDefaultNode(Node node)
PerceptualAssociativeMemory
.
Node will be of Pam's default type.
node
- PamNode
java.util.Set<PamNode> addDefaultNodes(java.util.Set<? extends Node> nodes)
nodes
- nodes to add
PamLink addDefaultLink(Link link)
link
- PamLink to add
java.util.Set<PamLink> addDefaultLinks(java.util.Set<? extends Link> links)
links
- PamLinks to add
void addDetectionAlgorithm(DetectionAlgorithm fd)
DetectionAlgorithm
to be run.
fd
- DetectionAlgorithm
void addPamListener(PamListener pl)
PamListener
.
pl
- listenervoid setPropagationStrategy(PropagationStrategy strategy)
PropagationStrategy
governing how activation is propagated in this PAM.
strategy
- PropagationStrategy
PropagationStrategy getPropagationStrategy()
PropagationStrategy
governing how activation is propagated in this PAM.
PropagationStrategy
void receiveExcitation(PamLinkable linkable, double amount)
PamLinkable
an amount of activation.
linkable
- Id of the PamLinkable receiving the activationamount
- amount of activation to excite{@link BasicDetectionAlgorithm}
void receiveExcitation(java.util.Set<PamLinkable> linkables, double amount)
PamLinkable
with an amount of activation.
linkables
- Ids of PamLinkable to be excitedamount
- amount of activationvoid propagateActivationToParents(PamNode pamNode)
PamNode
to its parents.
pamNode
- The PamNode
to propagate activation from.ExcitationTask
,
PropagationTask
void addNodeStructureToPercept(NodeStructure ns)
ns
- NodeStructurevoid addNodeToPercept(Node n)
Node
to the percept.
n
- Node to addvoid addLinkToPercept(Link l)
Link
to the percept.
l
- Link to addLinkCategory getLinkCategory(int id)
id
- id of LinkCategory sought
java.util.Collection<LinkCategory> getLinkCategories()
LinkCategory
LinkCategory addLinkCategory(LinkCategory cat)
PerceptualAssociativeMemory
.
Category must also be a node in order to be added. Node will be of Pam's default type.
cat
- LinkCategory
boolean containsNode(Node node)
node
- the node
boolean containsNode(ExtendedId id)
id
- ExtendedId of sought node
boolean containsLink(Link link)
link
- the link
boolean containsLink(ExtendedId id)
id
- ExtendedId of sought link
void setPerceptThreshold(double t)
t
- threshold for a Linkable
to become part of the perceptvoid setUpscaleFactor(double f)
f
- scale factor for feed-forward activation propagationdouble getUpscaleFactor()
void setDownscaleFactor(double f)
f
- scale factor for top-down activation propagationdouble getDownscaleFactor()
boolean isOverPerceptThreshold(PamLinkable l)
l
- a PamLinkable
Node getNode(int id)
PamNode
with specified id from this PAM or null.
id
- the id
Node getNode(ExtendedId id)
PamNode
with specified ExtendedId
or null
id
- sought ExtendedId
Node getNode(java.lang.String label)
PamNode
with specified label or null.
This method is intended to be used only during initialization.
label
- sought
Link getLink(ExtendedId id)
id
- link's eid
PamLink
with specified id from this PAM or null.java.util.Collection<Node> getNodes()
PamNode
s in this PAM as Node
s.
java.util.Collection<Link> getLinks()
PamLink
s in this PAM as Link
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |