de.zimek.proteinfeatures.attributeAssigner
Class AbstractArffRealAttributeAssigner

java.lang.Object
  extended byde.zimek.proteinfeatures.attributeAssigner.AbstractArffRealAttributeAssigner
All Implemented Interfaces:
ArffAttributeAssigner
Direct Known Subclasses:
AbstractGroupAssigner, AutoCorrelationFunction, DingAttribute, MotifAssigner, ProteinLength

public abstract class AbstractArffRealAttributeAssigner
extends java.lang.Object
implements ArffAttributeAssigner

Author:
Arthur Zimek

Field Summary
static java.util.regex.Pattern WHITESPACE
           
 
Fields inherited from interface de.zimek.proteinfeatures.attributeAssigner.ArffAttributeAssigner
ATTRIBUTE_MARK
 
Constructor Summary
AbstractArffRealAttributeAssigner()
           
 
Method Summary
protected abstract  double[] attributes(Protein protein)
          Returns the attributes according to the actual attribute-assigner.
 java.lang.String[] getAttribute(Protein protein)
          Returns the attribute-list in arff format (comma separated).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.zimek.proteinfeatures.attributeAssigner.ArffAttributeAssigner
getAttributeDefinition
 

Field Detail

WHITESPACE

public static final java.util.regex.Pattern WHITESPACE
Constructor Detail

AbstractArffRealAttributeAssigner

public AbstractArffRealAttributeAssigner()
Method Detail

attributes

protected abstract double[] attributes(Protein protein)
Returns the attributes according to the actual attribute-assigner.

Parameters:
protein -
Returns:
double[]

getAttribute

public java.lang.String[] getAttribute(Protein protein)
Description copied from interface: ArffAttributeAssigner
Returns the attribute-list in arff format (comma separated).

Specified by:
getAttribute in interface ArffAttributeAssigner
Parameters:
protein -
Returns:
String[]
See Also:
ArffAttributeAssigner.getAttribute(Protein)