edu.stanford.multiagent.gamer
Class DoubleOutput

java.lang.Object
  |
  +--edu.stanford.multiagent.gamer.GameOutput
        |
        +--edu.stanford.multiagent.gamer.DoubleOutput

public class DoubleOutput
extends GameOutput

Outputs a game in the gambit and gametracer output formats Separated by SEP


Field Summary
static java.lang.String SEP
           
 
Fields inherited from class edu.stanford.multiagent.gamer.GameOutput
GAMER_STRING
 
Constructor Summary
DoubleOutput()
           
 
Method Summary
 void writeGame(java.io.PrintWriter out, edu.stanford.multiagent.gamer.Game g)
          Writes the game to the specified PrintWriter.
 
Methods inherited from class edu.stanford.multiagent.gamer.GameOutput
arrayToString, commentString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEP

public static final java.lang.String SEP
See Also:
Constant Field Values
Constructor Detail

DoubleOutput

public DoubleOutput()
Method Detail

writeGame

public void writeGame(java.io.PrintWriter out,
                      edu.stanford.multiagent.gamer.Game g)
               throws java.lang.Exception
Description copied from class: GameOutput
Writes the game to the specified PrintWriter. Must be implemented by every subclass.

Specified by:
writeGame in class GameOutput
Parameters:
out - the PrintWriter to which the game should be written
g - the Game
Throws:
java.lang.Exception - if unable to write the game