nars.storage
Class TaskLinkBag

java.lang.Object
  extended by nars.storage.Bag<TaskLink>
      extended by nars.storage.TaskLinkBag

public class TaskLinkBag
extends Bag<TaskLink>

TaskLinkBag contains links to tasks.


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
TaskLinkBag()
           
 
Method Summary
protected  int capacity()
          Get the (constant) capacity of TaskLinkBag
protected  int forgetRate()
          Get the (adjustable) forget rate of TaskLinkBag
 
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

TaskLinkBag

public TaskLinkBag()
Method Detail

capacity

protected int capacity()
Get the (constant) capacity of TaskLinkBag

Specified by:
capacity in class Bag<TaskLink>
Returns:
The capacity of TaskLinkBag

forgetRate

protected int forgetRate()
Get the (adjustable) forget rate of TaskLinkBag

Specified by:
forgetRate in class Bag<TaskLink>
Returns:
The forget rate of TaskLinkBag