Package edu.wisc.game.sql
Class MlcLog
java.lang.Object
edu.wisc.game.sql.MlcLog
An auxiliary class used by the Captive Game Server for the optional
logging of MLC run results. The log files so produced can be later
imported by MclUploadService.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
logEpisode
(Episode e, int boardNo) Computes the ratios etc and writes the entry for a specified episodevoid
open()
Opens the file for writing (or appending) and writes the header line if necessary.
-
Field Details
-
nickname
-
rule_name
-
format
-
run
public int run
-
-
Constructor Details
-
MlcLog
-
-
Method Details
-
open
Opens the file for writing (or appending) and writes the header line if necessary.- Throws:
IOException
-
close
public void close() -
logEpisode
Computes the ratios etc and writes the entry for a specified episode- Parameters:
boardNo
- Sequential number (0-based) of the episode in the series (run)
-