dk.brics.string.stringoperations
Class Operation

java.lang.Object
  extended by dk.brics.string.stringoperations.Operation
Direct Known Subclasses:
BinaryOperation, UnaryOperation

public abstract class Operation
extends Object

Abstract superclass for operations on standard automata.


Constructor Summary
Operation()
           
 
Method Summary
abstract  int getPriority()
          Returns priority of this operation.
abstract  String toString()
          Returns name of this operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

getPriority

public abstract int getPriority()
Returns priority of this operation. When approximating operation loops in grammars, operations with high priority are considered first.


toString

public abstract String toString()
Returns name of this operation.

Overrides:
toString in class Object


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.