choco.visu
Class Visu
java.lang.Object
choco.visu.Visu
- All Implemented Interfaces:
- IVisu
public final class Visu
- extends Object
- implements IVisu
Fields inherited from interface choco.kernel.visu.IVisu |
LOGGER |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
public final Tracer tracer
panelList
protected ArrayList<AVarChocoPanel> panelList
createFullVisu
public static Visu createFullVisu()
createFullVisu
public static Visu createFullVisu(int width,
int height)
createVisu
public static Visu createVisu(VisuButton... buttons)
createVisu
public static Visu createVisu(int width,
int height,
VisuButton... buttons)
kill
public final void kill()
buildButtons
protected final void buildButtons(IObservableStepSearchLoop ssl)
setVisible
public final void setVisible(boolean visible)
- Shows or hides this
IVisu
depending on the value of parameter
visible
.
- Specified by:
setVisible
in interface IVisu
- Parameters:
visible
- if true
, makes the IVisu
visible,
otherwise hides the IVisu
.
addPanel
public final void addPanel(AVarChocoPanel panel)
- Add a new panel to the main frame of the Choco visualizer.
Allow user to observe variables during resolution.
- Specified by:
addPanel
in interface IVisu
- Parameters:
panel
- the new panel to add
listen
public final void listen(Solver s)
- Initializes the
IVisu
from the Solver
- Specified by:
listen
in interface IVisu
- Parameters:
s
- the solver
Copyright © 2012. All Rights Reserved.