jInfer

cz.cuni.mff.ksi.jinfer.basicigg.expansion
Class ExpanderImpl

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.basicigg.expansion.ExpanderImpl
All Implemented Interfaces:
Expander

public class ExpanderImpl
extends Object
implements Expander

A simple implementation of the Expander interface.


Constructor Summary
ExpanderImpl()
           
 
Method Summary
 List<Element> expand(List<Element> grammar)
          Expands complicated regular expressions in the provided initial grammar and returns a new grammar containing only concatenations on the right hand sides.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpanderImpl

public ExpanderImpl()
Method Detail

expand

public List<Element> expand(List<Element> grammar)
Description copied from interface: Expander
Expands complicated regular expressions in the provided initial grammar and returns a new grammar containing only concatenations on the right hand sides.

Specified by:
expand in interface Expander
Parameters:
grammar - Grammar to be simplified.
Returns:
Simplified grammar.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011