|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.multiagent.gamer.GameOutput | +--edu.stanford.multiagent.gamer.GambitOutput
Outputs a game in the Gambit .nfg file format. The format works with Gambit version 0.97.0.3 which is the current version. Could eventually need to be updated to work with later versions of gambit if the file format is modified.
Field Summary |
Fields inherited from class edu.stanford.multiagent.gamer.GameOutput |
GAMER_STRING |
Constructor Summary | |
GambitOutput()
|
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 |
Constructor Detail |
public GambitOutput()
Method Detail |
public void writeGame(java.io.PrintWriter out, edu.stanford.multiagent.gamer.Game g) throws java.lang.Exception
GameOutput
writeGame
in class GameOutput
out
- the PrintWriter to which the game should be writteng
- the Game
java.lang.Exception
- if unable to write the game
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |