|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Link
A link connects two Linkable objects.
Field Summary |
---|
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
Method Summary | |
---|---|
LinkCategory |
getCategory()
Get LinkCategory of this link. |
PamLink |
getGroundingPamLink()
Get the grounding PamLink for this link. |
Linkable |
getSink()
One end of the link which receives activation from the source. |
Node |
getSource()
One end of the link which provides activation to the sink. |
boolean |
isSimpleLink()
Returns whether Link is Simple (connects two nodes) |
void |
setCategory(LinkCategory type)
Set LinkCategory. |
void |
setGroundingPamLink(PamLink l)
Set the grounding PamLink for this link. |
void |
setSink(Linkable sink)
Set sink linkable. |
void |
setSource(Node source)
Set source linkable. |
void |
updateLinkValues(Link link)
Subclasses of Link 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, getFactoryType, getLabel, setFactoryType |
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 |
---|
containsParameter, getParam, getParameters, init, init |
Method Detail |
---|
boolean isSimpleLink()
Node getSource()
Linkable getSink()
void setSource(Node source)
source
- the new sourcevoid setSink(Linkable sink)
sink
- the new sinkLinkCategory getCategory()
void setCategory(LinkCategory type)
type
- the new categoryvoid setGroundingPamLink(PamLink l)
l
- the new grounding pam linkPamLink getGroundingPamLink()
void updateLinkValues(Link link)
link
- Link whose values are used to update with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |