|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.cons.ConstraintLayer
public class ConstraintLayer
Constraint layer is a set of layer of a given layered graph grammar. The set is backed by a hash table.
Constructor Summary | |
---|---|
ConstraintLayer(java.util.Enumeration<Formula> constraints)
Creates a new set of constraint layers for a given layered graph grammar. |
|
ConstraintLayer(java.util.List<Formula> constraints)
|
|
ConstraintLayer(java.util.Vector<Formula> constraints)
|
Method Summary | |
---|---|
void |
addLayer(Formula constraint,
int layer)
Sets the layer of the specified constraint |
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getConstraintLayer()
Returns the constraint (formula) layer. |
java.lang.Integer |
getStartLayer()
Returns the smallest layer of the formula layer. |
java.util.Hashtable<java.lang.Integer,com.objectspace.jgl.HashSet> |
invertLayer()
Inverts and returns constraint layers so that a layer is a key and a set is a value. |
java.lang.String |
toString()
Returns the constraint layer in a human readable way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstraintLayer(java.util.Enumeration<Formula> constraints)
constraints
- The constraints of a graph grammar.public ConstraintLayer(java.util.List<Formula> constraints)
public ConstraintLayer(java.util.Vector<Formula> constraints)
Method Detail |
---|
public void addLayer(Formula constraint, int layer)
public java.util.Hashtable<java.lang.Object,java.lang.Object> getConstraintLayer()
public java.lang.Integer getStartLayer()
public java.util.Hashtable<java.lang.Integer,com.objectspace.jgl.HashSet> invertLayer()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |