[all packages] [package ] [class hierarchy] [index]

public class ConstraintVector

(source file: ConstraintVector.java)
java.lang.Object
   |
   +----java.util.Vector
           |
           +----ConstraintVector

The pure class interface.
public class ConstraintVector
  extends Vector
A vector of constraints.


Constuctor Index

O ConstraintVector()

Methods

O create()
Add a new constraint to the vector.
O gap(int, int, int)
Add a gap of size d between variables x and y.
O get(int)
Find the constraints about variable x.

Constructors

O ConstraintVector
public ConstraintVector();

Methods

O create
public void create();
Add a new constraint to the vector.

O gap

public void gap(int d,
                int x,
                int y);
Add a gap of size d between variables x and y.

Parameters:
d - the minimum distance.
x - the variable to update.
y - the other variable.

O get

public Constraint get(int x);
Find the constraints about variable x.

Parameters:
x - the variable to look up.
Returns:
the constraints on x.


[all packages] [package ] [class hierarchy] [index]
ConstraintVector.html