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, wait
beforeInitialize
beforeClose
public LogStatEveryXXms(Solver solver, long duration)
solver
- the solver to instrumentduration
- delay between two outputs, in millisecondspublic void afterInitialize(boolean correct)
IMonitorInitialize
afterInitialize
in interface IMonitorInitialize
correct
- equals false if initialization failed, true otherwise.public void afterClose()
IMonitorClose
afterClose
in interface IMonitorClose
Copyright © 2018. All rights reserved.