cz.cuni.mff.ksi.jinfer.treeruledisplayer.logic
Class VertexSizeTransformer
java.lang.Object
cz.cuni.mff.ksi.jinfer.treeruledisplayer.logic.VertexSizeTransformer
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<Regexp<? extends AbstractNamedNode>,Integer>
public class VertexSizeTransformer
- extends Object
- implements org.apache.commons.collections15.Transformer<Regexp<? extends AbstractNamedNode>,Integer>
Transformer for Rule Tree Vertex which transform Regexp
into Vertex size.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VertexSizeTransformer
public VertexSizeTransformer(List<Regexp<AbstractStructuralNode>> roots)
- Default contructor.
- Parameters:
roots
- List of root Regexp of each rule tree.
transform
public Integer transform(Regexp<? extends AbstractNamedNode> regexp)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<Regexp<? extends AbstractNamedNode>,Integer>
Generated on Fri Dec 9 00:01:25 CET 2011