org.blackbox.model
Interface Agenda

All Superinterfaces:
ObservableEntity
All Known Implementing Classes:
BBX_Agenda

public interface Agenda
extends ObservableEntity


Field Summary
static int MAX_SALIENCE
           
 
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.
 
Methods inherited from interface org.blackbox.model.ObservableEntity
addObserver, removeObserver
 

Field Detail

MAX_SALIENCE

static final int MAX_SALIENCE
See Also:
Constant Field Values
Method Detail

empty

boolean empty()
Anwser the question : is this queue empty.

Returns:
true if the queue is empty.

manageAgenda

void manageAgenda()
When called this fn (re)-arrays the agenda if necessary.


peekKSAR

KSAR peekKSAR()
Peek the best next KSAR (this one which is located at the top of the agenda).

Returns:
the best best next KSAR.

popKSAR

void popKSAR()
Remove the top of the agenda.


pushKSAR

void pushKSAR(KSAR ksar)
Add a new KSAR to execution list.

Parameters:
ksar -

iterator

java.util.Iterator iterator()
Agenda iterator

Returns:
an iterator on the content.

size

int size()
Return current number of ksar occurences in this queue.


setCurrentSalienceTo

void setCurrentSalienceTo(int salience)

getCurrentSalience

int getCurrentSalience()