trace.visualizers
Class BoolChanneling
java.lang.Object
trace.Visualizer
trace.visualizers.BoolChanneling
public final class BoolChanneling
- extends Visualizer
A specialized visualizer for the boolean channeling constraint.
(in Choco: domainChanneling)
- Since:
- 13/12/10
- Author:
- Charles Prud'homme
Constructor Summary |
BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
int offset,
String display,
int width,
int height)
Build a visualizer for the boolean channeling constraint |
BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
int offset,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
Build a visualizer for the boolean channeling constraint |
BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
String display,
int width,
int height)
Build a visualizer for the boolean channeling constraint |
BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
Build a visualizer for the boolean channeling constraint |
Methods inherited from class trace.Visualizer |
getDisplay, getGroup, getHeight, getId, getType, getWidth, options, setGroup, setId, setMinMax, setXY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoolChanneling
public BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
int offset,
String display,
int width,
int height)
- Build a visualizer for the boolean channeling constraint
- Parameters:
var
- domain variablebool
- collection of boolean variablesoffset
- starting valuedisplay
- "expanded" or "compact"width
- width of the visualizerheight
- height of the visualizer
BoolChanneling
public BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
String display,
int width,
int height)
- Build a visualizer for the boolean channeling constraint
- Parameters:
var
- domain variablebool
- collection of boolean variablesdisplay
- "expanded" or "compact"width
- width of the visualizerheight
- height of the visualizer
BoolChanneling
public BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
int offset,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
- Build a visualizer for the boolean channeling constraint
- Parameters:
var
- domain variablebool
- collection of boolean variablesoffset
- starting valuedisplay
- "expanded" or "compact"x
- coordinate of the visualizer in the x-axis (horizontal)y
- coordinate of the visualizer in the y-axis (vertical)width
- width of the visualizerheight
- height of the visualizergroup
- group name (to group multiple constraints)min
- expected minimal value of any of the domainsmax
- expected maximal value of any of the domains
BoolChanneling
public BoolChanneling(IntDomainVar var,
IntDomainVar[] bool,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
- Build a visualizer for the boolean channeling constraint
- Parameters:
var
- domain variablebool
- collection of boolean variablesdisplay
- "expanded" or "compact"x
- coordinate of the visualizer in the x-axis (horizontal)y
- coordinate of the visualizer in the y-axis (vertical)width
- width of the visualizerheight
- height of the visualizergroup
- group name (to group multiple constraints)min
- expected minimal value of any of the domainsmax
- expected maximal value of any of the domains
print
protected void print(org.slf4j.Logger logger,
boolean focus,
IntBranchingDecision decision)
- Specified by:
print
in class Visualizer
Copyright © 2012. All Rights Reserved.