uk.ac.bbk.dcs.automed.qproc.optimise.optimisers
Class ConstantSimplification

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.optimise.optimisers.ConstantSimplification

public class ConstantSimplification
extends java.lang.Object

This optimiser eliminates Constructors Null, Any, Void, Nil, SNil and BNil where possible.

Author:
Hao Fan, Lucas Zamboulis

Field Summary
protected  java.util.logging.Logger logger
           
 
Constructor Summary
ConstantSimplification()
           
 
Method Summary
 void finalize()
           
 boolean optimise(ASG g)
           
 boolean optimise(Cell c)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected java.util.logging.Logger logger
Constructor Detail

ConstantSimplification

public ConstantSimplification()
Method Detail

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

optimise

public boolean optimise(Cell c)
                 throws QueryOptimisationException
Throws:
QueryOptimisationException

optimise

public boolean optimise(ASG g)