de.upb.swtpra05.group03.shuttle
Interface StrategyControlInterface

All Known Implementing Classes:
StrategyControl

public interface StrategyControlInterface

Interface of a strategy control.

Version:
$Revision: 1.3 $

Field Summary
static int MASTER_STRATEGY
          The only implemented strategy.
 
Method Summary
 de.upb.swtpra.kernel.id.ID getMasterShuttleID()
          Returns the master shuttle id.
 int getStrategy()
          Returns the current strategy.
 boolean isMasterShuttle()
          Returns if this shuttle is the master shuttle.
 

Field Detail

MASTER_STRATEGY

public static final int MASTER_STRATEGY
The only implemented strategy.

See Also:
Constant Field Values
Method Detail

getStrategy

public int getStrategy()
Returns the current strategy.

Returns:
the current strategy

getMasterShuttleID

public de.upb.swtpra.kernel.id.ID getMasterShuttleID()
Returns the master shuttle id.

Returns:
the master shuttle id

isMasterShuttle

public boolean isMasterShuttle()
Returns if this shuttle is the master shuttle.

Returns:
if this shuttle is the master shuttle.