trace.visualizers
Class AllDifferentMatrix
java.lang.Object
trace.Visualizer
trace.visualizers.DomainMatrix
trace.visualizers.AllDifferentMatrix
public class AllDifferentMatrix
- extends DomainMatrix
A specialized visualizer for a list of allDifferent constraints.
- Since:
- 14/12/10
- Author:
- Charles Prud'homme
Constructor Summary |
AllDifferentMatrix(IntDomainVar[][] vars,
String display,
int width,
int height)
Build a visualizer for a list of allDifferent constraints |
AllDifferentMatrix(IntDomainVar[][] vars,
String type,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
Build a visualizer for a list of allDifferent constraints |
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 |
AllDifferentMatrix
public AllDifferentMatrix(IntDomainVar[][] vars,
String display,
int width,
int height)
- Build a visualizer for a list of allDifferent constraints
- Parameters:
vars
- domain variablesdisplay
- "expanded" or "compact"width
- width of the visualizerheight
- height of the visualizer
AllDifferentMatrix
public AllDifferentMatrix(IntDomainVar[][] vars,
String type,
String display,
int x,
int y,
int width,
int height,
String group,
int min,
int max)
- Build a visualizer for a list of allDifferent constraints
- Parameters:
vars
- domain 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
Copyright © 2012. All Rights Reserved.