public class LogStatEveryXXms extends Object implements IMonitorInitialize, IMonitorClose
| Constructor and Description |
|---|
LogStatEveryXXms(Solver solver,
long duration)
Create a monitor which outputs shot-line statistics every duration milliseconds
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterClose()
Actions to execute after closing the search
|
void |
afterInitialize(boolean correct)
Actions to execute after initialisation of the solver
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterInitialize, beforeInitializebeforeClosepublic LogStatEveryXXms(Solver solver, long duration)
solver - the solver to instrumentduration - delay between two outputs, in millisecondspublic void afterInitialize(boolean correct)
IMonitorInitializeafterInitialize in interface IMonitorInitializecorrect - equals false if initialization failed, true otherwise.public void afterClose()
IMonitorCloseafterClose in interface IMonitorCloseCopyright © 2018. All rights reserved.