|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
Node represents a Concept in LIDA. It could be implemented in different ways for different parts of the system. For example could be pamNodes in the PAM and WorkspaceNodes in the workspace. Nodes with the same id represents the same concept so equals have to return true even if the objects are of different classes.
Field Summary |
---|
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
Method Summary | |
---|---|
double |
getDesirability()
Returns desirability of this node. |
PamNode |
getGroundingPamNode()
Returns the grounding PamNode. |
int |
getId()
Returns Node's id |
java.lang.String |
getLabel()
Gets label. |
void |
setDesirability(double degree)
Set node desirability. |
void |
setGroundingPamNode(PamNode n)
Used by factory to set the underlying PamNode for this node |
void |
setId(int id)
Sets Node's id |
void |
setLabel(java.lang.String label)
Sets label |
void |
updateNodeValues(Node n)
Subclasses of Node should override this method to set all of their type-specific member data using the values of the specified Link. |
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.Linkable |
---|
getExtendedId |
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable |
---|
getParam, init, init |
Method Detail |
---|
PamNode getGroundingPamNode()
void setGroundingPamNode(PamNode n)
n
- PamNodeint getId()
void setId(int id)
id
- unique idjava.lang.String getLabel()
Linkable
getLabel
in interface Linkable
void setLabel(java.lang.String label)
label
- readable labeldouble getDesirability()
void setDesirability(double degree)
degree
- degree to which this node is a goal of the agentvoid updateNodeValues(Node n)
n
- Node whose values are used to update with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |