|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.chunk.four.Link
public class Link
A Link represents a subsymbolic associative link between two chunks J and I. Spreading activation propogates from J to I. There are two ways to create a Link: 1) From Chunkj to Chunki when one of Chunkj's slots contains Chunki 2) From Chunkj to Chunki when Chunkj is in the goal buffer and Chunki has been positively matched within any other buffer
| Field Summary | |
|---|---|
int |
_count
Description of the Field |
double |
_fnicj
Description of the Field |
IChunk |
_iChunk
Description of the Field |
IChunk |
_jChunk
Description of the Field |
double |
_rStrength
Description of the Field |
double |
_strength
Description of the Field |
double |
_timeStamp
Description of the Field |
| Constructor Summary | |
|---|---|
Link(IChunk j,
IChunk i)
The j chunk should contain the I chunk as a slot value. |
|
Link(IChunk j,
IChunk i,
int count,
double strength)
Constructor for the Link object |
|
Link(IChunk newJ,
Link link)
used for copying the values from an existing link when a copy of j is made |
|
| Method Summary | |
|---|---|
int |
decrement()
decrement the count number of links this Link represents. |
int |
getCount()
A link can actually represent multiple links between two chunks. |
double |
getFNICJ()
Gets the fNICJ attribute of the Link object |
IChunk |
getIChunk()
Return the contained chunk |
IChunk |
getJChunk()
Return the containing chunk |
double |
getRStrength()
Returns the R strength which is the prelog transformed strength value |
double |
getStrength()
return the log transformed strength. |
void |
increment()
increment the count number of links this Link represents |
void |
incrementFNICJ()
Description of the Method |
static void |
resetAllLinks(IModel m)
Reset all the Link strengths in a given model. |
void |
resetStrength()
Description of the Method |
void |
setCount(int count)
Sets the count attribute of the Link object |
void |
setStrength(double s)
Set the log transformed strength ? if strength learning is enabled in the model, the strength value will not remain fixed. |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public IChunk _jChunk
public IChunk _iChunk
public int _count
public double _rStrength
public double _strength
public double _fnicj
public double _timeStamp
| Constructor Detail |
|---|
public Link(IChunk j,
IChunk i)
j - Description of the Parameteri - Description of the Parameter
public Link(IChunk j,
IChunk i,
int count,
double strength)
j - Description of the Parameteri - Description of the Parametercount - Description of the Parameterstrength - Description of the Parameter
public Link(IChunk newJ,
Link link)
j - i - link - | Method Detail |
|---|
public IChunk getJChunk()
public IChunk getIChunk()
public int getCount()
public double getFNICJ()
public void incrementFNICJ()
public double getRStrength()
public double getStrength()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setStrength(double s)
s - The new strength valuepublic void setCount(int count)
count - The new count valuepublic void increment()
public int decrement()
public void resetStrength()
public static void resetAllLinks(IModel m)
m - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||