public class PenaltiesLogger extends ManualLogger
Constructor and Description |
---|
PenaltiesLogger(int loggingInterval,
java.lang.String logFile,
java.io.File outputDir)
Constructs a Penalitieslogger, calls constructor of logger abstract class
|
Modifier and Type | Method and Description |
---|---|
void |
advice(EnsembleSA sa)
PenaltiesLogger does not give feedback to Netter to guide the re-ranking process
|
ManualLogger |
makeCopy(java.lang.String logFile)
Overrides and creates a copy constructor for a PenaltiesLogger
|
deleteFile, getIterations, getIterationsSoFar, getLogFile, isFired, isPositive, log, setFired, setLogFile, setPositive, toFile
public PenaltiesLogger(int loggingInterval, java.lang.String logFile, java.io.File outputDir)
loggingInterval
- perform logging action every 'loggingInterval' changes to the networklogFile
- name of output fileoutputDir
- name/path of the output directorypublic ManualLogger makeCopy(java.lang.String logFile)
makeCopy
in class ManualLogger
logFile
- name of output filepublic void advice(EnsembleSA sa)
advice
in class ManualLogger
sa
- The Netter procedure requesting feedback