|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlackBoard
Implementations of this interface acts as blackboards. The purpose of the blackboards are to facilitate the communication between the various components of the system.
Method Summary | |
---|---|
void |
deliverResult(java.lang.Object result)
Delivers the result of any calculation onto the blackboard. |
double |
getAdjustableSetting(SuperLinkID requesterID,
SuperLinkID adjustableID)
Returns the current setting of the adjustable associated with the specified adjustableID and requesterID . |
PlanRequester |
getRequester(SuperLinkID requester)
Returns a reference to the plan requester associated with the specified id . |
void |
requestPlan(PlanRequester requester)
Registers the specified caller as a requester of a plan. |
Method Detail |
---|
void deliverResult(java.lang.Object result)
result
- the result to deliverPlanRequester getRequester(SuperLinkID requester)
id
.
If no requester is associated with the specified id, planning for the
specified id is stopped in the Planner, and null
is
returned.
requester
- the id of the requested requester
null
if requester does not existPlannerEngine
void requestPlan(PlanRequester requester)
requester
- the requester of a plandouble getAdjustableSetting(SuperLinkID requesterID, SuperLinkID adjustableID)
adjustableID
and requesterID
.
requesterID
- the id of the plan requesteradjustableID
- the id of the adjustable to get the setting from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |