org.gersteinlab.tyna.core.operators
Class FeedforwardLoopMotifMiner

java.lang.Object
  extended by org.gersteinlab.tyna.core.operators.MotifMiner
      extended by org.gersteinlab.tyna.core.operators.FeedforwardLoopMotifMiner
All Implemented Interfaces:
UnaryOperator

public class FeedforwardLoopMotifMiner
extends MotifMiner

        This class defines the feedforward loop motif miner. It takes a directed
        graph as input, and returns a graph that contains the set of all
        feedforward loops that satisfy some requirements.
        

Version:
1.0 (December 9, 2005) Change History: 1.0 - Initial version
Author:
Kevin Yuk-Lap Yip

Field Summary
protected  int maxSize
          The maximum size
protected  int minSize
          The minimum size
 
Fields inherited from class org.gersteinlab.tyna.core.operators.MotifMiner
INTEGRATED, MAXIMAL, MINIMAL, outputType, SEPARATED
 
Constructor Summary
FeedforwardLoopMotifMiner(java.lang.String outputType, int minSize, int maxSize)
          Create a new feedforward loop motif miner.
 
Method Summary
 Graph operate(Graph graph)
          Perform the operation on a graph.
 
Methods inherited from class org.gersteinlab.tyna.core.operators.MotifMiner
createOutputGraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minSize

protected int minSize
The minimum size


maxSize

protected int maxSize
The maximum size

Constructor Detail

FeedforwardLoopMotifMiner

public FeedforwardLoopMotifMiner(java.lang.String outputType,
                                 int minSize,
                                 int maxSize)
Create a new feedforward loop motif miner.

Parameters:
outputType - The output type (separated or integrated)
minSize - The minimum size of each feedforward loop
maxSize - The maximum size of each feedforward loop
Method Detail

operate

public Graph operate(Graph graph)
              throws GraphTypeException
Description copied from interface: UnaryOperator
Perform the operation on a graph.

Parameters:
graph - The graph
Returns:
The resulting graph
Throws:
GraphTypeException - If there are problems with the type of the input graph