|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blackbox.shell.ObserverPatternImpl
org.blackbox.shell.BBX_Agenda
public final class BBX_Agenda
Field Summary |
---|
Fields inherited from class org.blackbox.shell.ObserverPatternImpl |
---|
curEvent |
Fields inherited from interface org.blackbox.model.Agenda |
---|
MAX_SALIENCE |
Constructor Summary | |
---|---|
BBX_Agenda()
|
Method Summary | |
---|---|
boolean |
empty()
Anwser the question : is this queue empty. |
int |
getCurrentSalience()
|
java.util.Iterator |
iterator()
Agenda iterator |
void |
manageAgenda()
When called this fn (re)-arrays the agenda if necessary. |
KSAR |
peekKSAR()
Peek the best next KSAR (this one which is located at the top of the agenda). |
void |
popKSAR()
Remove the top of the agenda. |
void |
pushKSAR(KSAR ksar)
Add a new KSAR to execution list. |
void |
setCurrentSalienceTo(int salience)
|
int |
size()
Return current number of ksar occurences in this queue. |
void |
update(java.lang.Object update)
|
Methods inherited from class org.blackbox.shell.ObserverPatternImpl |
---|
addObserver, notifyObservers, removeObserver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.blackbox.model.ObservableEntity |
---|
addObserver, removeObserver |
Constructor Detail |
---|
public BBX_Agenda()
Method Detail |
---|
public void setCurrentSalienceTo(int salience)
setCurrentSalienceTo
in interface Agenda
public int getCurrentSalience()
getCurrentSalience
in interface Agenda
public void popKSAR()
Agenda
popKSAR
in interface Agenda
public void pushKSAR(KSAR ksar)
Agenda
pushKSAR
in interface Agenda
public KSAR peekKSAR()
Agenda
peekKSAR
in interface Agenda
public java.util.Iterator iterator()
Agenda
iterator
in interface Agenda
public boolean empty()
Agenda
empty
in interface Agenda
public void manageAgenda()
Agenda
manageAgenda
in interface Agenda
public int size()
Agenda
size
in interface Agenda
public void update(java.lang.Object update)
update
in interface org.framboise_22.rete.util.Observer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |