jp.ac.nii.icpc2010.manager
インタフェース IBasicOptions


public interface IBasicOptions

Basic configuration settings for the game. May be useful in making strategic decisions.


メソッドの概要
 int getGameRounds()
          Obtain the number of rounds in a match.
 int getMaxTurns()
          Obtain the number of turns in a round.
 long getRunTimeout()
          Obtain the timeout in milliseconds for an individual turn.
 int getTrailLimitAmount()
          Obtain the maximum length of the trail.
 boolean hasTrailLimit()
          Test whether the trail is unlimited or not.
 

メソッドの詳細

getMaxTurns

int getMaxTurns()
Obtain the number of turns in a round.

戻り値:

getGameRounds

int getGameRounds()
Obtain the number of rounds in a match.

戻り値:

getRunTimeout

long getRunTimeout()
Obtain the timeout in milliseconds for an individual turn.

戻り値:

getTrailLimitAmount

int getTrailLimitAmount()
Obtain the maximum length of the trail. Only meaningful if hasTrailLimit() returns true.

戻り値:
Maximum length of the trail

hasTrailLimit

boolean hasTrailLimit()
Test whether the trail is unlimited or not.

戻り値:
false if the trail has unlimited length.