struct.sequence
Class SequenceFeatures

java.lang.Object
  extended by struct.sequence.SequenceFeatures
All Implemented Interfaces:
Features

public class SequenceFeatures
extends java.lang.Object
implements Features

Features for sequences.

Version:
07/15/2006

Field Summary
private  SLFeatureVector[][][] fvs_ij
           
private  SLFeatureVector[][] fvs_j
           
 
Constructor Summary
SequenceFeatures(SLFeatureVector[][][] fvs_ij, SLFeatureVector[][] fvs_j)
           
 
Method Summary
 SLFeatureVector getFeatureVector(int n, int y1)
          Gets the SLFeatureVector by position-label.
 SLFeatureVector getFeatureVector(int n, int y1, int y2)
          Gets the SLFeatureVector by position-label-label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fvs_ij

private SLFeatureVector[][][] fvs_ij

fvs_j

private SLFeatureVector[][] fvs_j
Constructor Detail

SequenceFeatures

public SequenceFeatures(SLFeatureVector[][][] fvs_ij,
                        SLFeatureVector[][] fvs_j)
Parameters:
fvs_ij - Features for position-label-label
fvs_j - Features for position-label
Method Detail

getFeatureVector

public SLFeatureVector getFeatureVector(int n,
                                        int y1,
                                        int y2)
Gets the SLFeatureVector by position-label-label.

Parameters:
n - Position index
y1 - Index of first label
y2 - Index of second label

getFeatureVector

public SLFeatureVector getFeatureVector(int n,
                                        int y1)
Gets the SLFeatureVector by position-label.

Parameters:
n - Position index
y1 - Index of label


Copyright (C) 2006 University of Pennsylvania.