jInfer

cz.cuni.mff.ksi.jinfer.treeruledisplayer.logic
Class VertexSizeTransformer

java.lang.Object
  extended by 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.


Constructor Summary
VertexSizeTransformer(List<Regexp<AbstractStructuralNode>> roots)
          Default contructor.
 
Method Summary
 Integer transform(Regexp<? extends AbstractNamedNode> regexp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexSizeTransformer

public VertexSizeTransformer(List<Regexp<AbstractStructuralNode>> roots)
Default contructor.

Parameters:
roots - List of root Regexp of each rule tree.
Method Detail

transform

public Integer transform(Regexp<? extends AbstractNamedNode> regexp)
Specified by:
transform in interface org.apache.commons.collections15.Transformer<Regexp<? extends AbstractNamedNode>,Integer>

jInfer

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