agg.util.csp
Class SimpleVariableOrder

java.lang.Object
  extended by agg.util.csp.SimpleVariableOrder
All Implemented Interfaces:
com.objectspace.jgl.BinaryPredicate, java.io.Serializable

public class SimpleVariableOrder
extends java.lang.Object
implements com.objectspace.jgl.BinaryPredicate

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.objectspace.jgl.BinaryPredicate
serialVersionUID
 
Constructor Summary
SimpleVariableOrder()
           
 
Method Summary
 boolean execute(java.lang.Object var1, java.lang.Object var2)
          Return true iff the weight of var1 is greater than the weight of var2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleVariableOrder

public SimpleVariableOrder()
Method Detail

execute

public final boolean execute(java.lang.Object var1,
                             java.lang.Object var2)
Return true iff the weight of var1 is greater than the weight of var2.

Pre: var1,var2 instanceof Variable.

Specified by:
execute in interface com.objectspace.jgl.BinaryPredicate