de.kosi.model.game
Class TimeExceedResult

java.lang.Object
  |
  +--de.kosi.model.game.Result
        |
        +--de.kosi.model.game.PercentageResult
              |
              +--de.kosi.model.game.TimeExceedResult
All Implemented Interfaces:
java.io.Serializable

public class TimeExceedResult
extends PercentageResult

The class for results of games whcih had to be terminated because the time absorbed by the four players exceeded the maximum amount of time per game.

ChangeLog:

 $Log: TimeExceedResult.java,v $
 Revision 1.6  2001/06/15 13:07:03  betacarotine
 added serial version UIDs to the Result-classes.

 Revision 1.5  2001/06/15 09:33:27  betacarotine
 Changed the Game-interface. Instead of
 	int getLatestLeader()   and
 	List getLatestTrick()
 we now have
 	Trick getLatestTrick()

 The internal representation and storage of the tricks is reimplemented too
 based on the new Trick-class.

 Revision 1.4  2001/06/01 15:07:07  betacarotine
 Updated documentation

 Revision 1.3  2001/06/01 14:49:54  betacarotine
 improved the result handling, added tournament scoring

 Revision 1.2  2001/05/30 10:19:18  pizarro
 Updated Documentation.

 Revision 1.1  2001/05/25 14:51:23  betacarotine
 Added a result handling mechanism for the game.


 

Version:
$Revision: 1.6 $ ($Date: 2001/06/15 13:07:03 $)
Author:
PG KoSI, Fachbereich Informatik, Universitaet Oldenburg
See Also:
Serialized Form

Field Summary
static long serialVersionUID
          The serial version UID
static double TIME_EXCEED_PERCENT
           
 
Constructor Summary
TimeExceedResult(Board board, java.util.List bids, Contract contract, java.util.List tricks, StopWatch stopWatch)
           
TimeExceedResult(Board board, java.util.List bids, StopWatch stopWatch)
           
 
Method Summary
 double getPercentEastWest()
          Returns the percent valuation of the EastWest pair.
 double getPercentNorthSouth()
          Returns the percent valuation of the NorthSouth pair.
 
Methods inherited from class de.kosi.model.game.Result
getBids, getBoard, getContract, getTricks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
The serial version UID

TIME_EXCEED_PERCENT

public static final double TIME_EXCEED_PERCENT
Constructor Detail

TimeExceedResult

public TimeExceedResult(Board board,
                        java.util.List bids,
                        StopWatch stopWatch)

TimeExceedResult

public TimeExceedResult(Board board,
                        java.util.List bids,
                        Contract contract,
                        java.util.List tricks,
                        StopWatch stopWatch)
Method Detail

getPercentNorthSouth

public double getPercentNorthSouth()
Returns the percent valuation of the NorthSouth pair.
Overrides:
getPercentNorthSouth in class PercentageResult
Returns:
The percent valuation of the NorthSouth pair

getPercentEastWest

public double getPercentEastWest()
Returns the percent valuation of the EastWest pair.
Overrides:
getPercentEastWest in class PercentageResult
Returns:
The percent valuation of the EastWest pair