|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnars.storage.Bag<TermLink>
nars.storage.TermLinkBag
public class TermLinkBag
Contains TermLinks to relevant (compound or component) Terms.
Field Summary |
---|
Fields inherited from class nars.storage.Bag |
---|
capacity, currentCounter, currentLevel, DISTRIBUTOR, itemTable, levelIndex, LOAD_FACTOR, mass, nameTable, RELATIVE_THRESHOLD, showing, THRESHOLD, TOTAL_LEVEL, window |
Constructor Summary | |
---|---|
TermLinkBag()
|
Method Summary | |
---|---|
protected int |
capacity()
Get the (constant) capacity of TermLinkBag |
protected int |
forgetRate()
Get the (adjustable) forget rate of TermLinkBag |
TermLink |
takeOut(TaskLink taskLink)
Replace defualt to prevent repeated inference, by checking TaskLink |
Methods inherited from class nars.storage.Bag |
---|
averagePriority, contains, get, outOfBase, pickOut, play, putBack, putIn, refresh, startPlay, stop, takeOut, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TermLinkBag()
Method Detail |
---|
protected int capacity()
capacity
in class Bag<TermLink>
protected int forgetRate()
forgetRate
in class Bag<TermLink>
public TermLink takeOut(TaskLink taskLink)
taskLink
- The selected TaskLink
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |