dk.deepthought.sidious.goalhandler
Interface GoalHandler

All Known Implementing Classes:
GoalHandlerEngine

public interface GoalHandler

This interface defines classes responsible for prioritizing goals.

Author:
Deepthought

Method Summary
 Goal getTopPriorityGoal(SuperLinkID id)
          This method retrieves the top goal for a given SuperLinkID.
 void request(SuperLinkID id)
          Request a goal to be extracted from requester with specified id.
 

Method Detail

getTopPriorityGoal

Goal getTopPriorityGoal(SuperLinkID id)
This method retrieves the top goal for a given SuperLinkID.

Parameters:
id - the id to retrieve the top goal for
Returns:
the top goal

request

void request(SuperLinkID id)
Request a goal to be extracted from requester with specified id. This request is added to the requester queue.

Parameters:
id - the id of the requester


Copyright © Deepthought Development - All Rights Reserved.