org.geworkbench.bison.datastructure.complex.pattern
Class CSMatchedPattern<T extends DSSequential,R>

java.lang.Object
  extended by org.geworkbench.bison.datastructure.complex.pattern.CSMatchedPattern<T,R>
All Implemented Interfaces:
DSMatchedPattern<T,R>, DSNamed, DSPValue
Direct Known Subclasses:
CSMatchedSeqPattern

public class CSMatchedPattern<T extends DSSequential,R>
extends java.lang.Object
implements DSMatchedPattern<T,R>

Title: Bioworks

Description: Modular Application Framework for Gene Expession, Sequence and Genotype Analysis

Copyright: Copyright (c) 2003 -2004

Company: Columbia University

Version:
$Id: CSMatchedPattern.java 8955 2012-03-05 17:45:18Z zji $
Author:
not attributable

Field Summary
protected  java.util.List<DSPatternMatch<T,R>> matches
           
protected  double zScore
           
 
Constructor Summary
CSMatchedPattern()
           
 
Method Summary
 boolean containsObject(T object)
           
 boolean containsSupport(CSMatchedPattern<T,R> pat)
           
 DSPatternMatch<T,R> get(int i)
           
 java.lang.String getLabel()
          Gets the label for this object.
 double getPValue()
           
 int getSupport()
           
 int getUniqueSupport()
           
 java.util.List<DSPatternMatch<T,R>> matches()
           
 void setLabel(java.lang.String label)
          Sets the label for this object.
 void setPValue(double pValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matches

protected java.util.List<DSPatternMatch<T extends DSSequential,R>> matches

zScore

protected double zScore
Constructor Detail

CSMatchedPattern

public CSMatchedPattern()
Method Detail

matches

public java.util.List<DSPatternMatch<T,R>> matches()
Specified by:
matches in interface DSMatchedPattern<T extends DSSequential,R>

containsObject

public boolean containsObject(T object)

containsSupport

public boolean containsSupport(CSMatchedPattern<T,R> pat)

getPValue

public double getPValue()
Specified by:
getPValue in interface DSPValue

setPValue

public void setPValue(double pValue)
Specified by:
setPValue in interface DSPValue

getSupport

public int getSupport()
Specified by:
getSupport in interface DSMatchedPattern<T extends DSSequential,R>

getUniqueSupport

public int getUniqueSupport()
Specified by:
getUniqueSupport in interface DSMatchedPattern<T extends DSSequential,R>

get

public DSPatternMatch<T,R> get(int i)
Specified by:
get in interface DSMatchedPattern<T extends DSSequential,R>

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: DSNamed
Sets the label for this object.

Specified by:
setLabel in interface DSNamed
Parameters:
label - the new label for this object.

getLabel

public java.lang.String getLabel()
Description copied from interface: DSNamed
Gets the label for this object.

Specified by:
getLabel in interface DSNamed
Returns:
the label.