lib/browser/GraphBrowser/Box.java
author blanchet
Wed, 04 Aug 2010 23:27:27 +0200
changeset 38195 a8cef06e0480
parent 33686 8e33ca8832b1
permissions -rw-r--r--
Cycle breaking in the bounds takes care of singly recursive datatypes, so we don't need to do it again; the effect of removing the constraint varies on problem to problem, but it tends to be overwhelmingly negative in conjuction with the new datatype sym breaking stuff at high cardinalities
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13970
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     1
/***************************************************************************
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     2
  Title:      GraphBrowser/Box.java
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     3
  Author:     Gerwin Klein, TU Muenchen
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     4
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     5
  A box with width and height. Used instead of java.awt.Dimension for 
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     6
  batch mode.
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     7
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     8
***************************************************************************/
13968
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
     9
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    10
package GraphBrowser;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    11
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    12
public class Box {
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    13
  public int width;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    14
  public int height;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    15
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    16
  public Box(int w, int h) {
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    17
    this.width = w;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    18
    this.height = h;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    19
  }
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    20
}