org.gersteinlab.tyna.core.operators
Class CompleteTwoLayerMotifMiner

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

public class CompleteTwoLayerMotifMiner
extends MotifMiner

        This class defines the complete two layer motif miner. It takes a
        directed graph as input, and returns a graph that contains the set of
        all maximal complete two layer subgraphs.
        

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

Field Summary
protected  int maxSize1
          The maximum size of the first layer
protected  int minSize1
          The minimum size of the first layer
protected  int minSize2
          The minimum size of the second layer
 
Fields inherited from class org.gersteinlab.tyna.core.operators.MotifMiner
INTEGRATED, MAXIMAL, MINIMAL, outputType, SEPARATED
 
Constructor Summary
CompleteTwoLayerMotifMiner(java.lang.String outputType, int minSize1, int maxSize1, int minSize2)
          Create a new complete two layer 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

minSize1

protected int minSize1
The minimum size of the first layer


maxSize1

protected int maxSize1
The maximum size of the first layer


minSize2

protected int minSize2
The minimum size of the second layer

Constructor Detail

CompleteTwoLayerMotifMiner

public CompleteTwoLayerMotifMiner(java.lang.String outputType,
                                  int minSize1,
                                  int maxSize1,
                                  int minSize2)
Create a new complete two layer motif miner.

Parameters:
outputType - The output type (separated or integrated)
minSize1 - The minimum size of the first layer
maxSize1 - The maximum size of the first layer
minSize2 - The minimum size of the second layer
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