de.fu_berlin.ties.classify.feature
Class FeatureSet

java.lang.Object
  extended by de.fu_berlin.ties.classify.feature.FeatureVector
      extended by de.fu_berlin.ties.classify.feature.FeatureSet

public class FeatureSet
extends FeatureVector

This feature vector implementation stores a set of features. The order of features is not preserved and duplicates are discarded.

Instances of this class are not thread-safe and must be synchronized externally, if required.

Version:
$Revision: 1.17 $, $Date: 2006/10/21 16:03:57 $, $Author: siefkes $
Author:
Christian Siefkes

Constructor Summary
FeatureSet()
          Creates a new instance.
 
Method Summary
protected  Collection<Feature> store()
          Returns the collection used for storing the features.
 
Methods inherited from class de.fu_berlin.ties.classify.feature.FeatureVector
add, addAll, addAll, addAllTokens, flatten, flatten, getTransformed, iterator, lastTransformation, lastTransformation, setTransformed, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureSet

public FeatureSet()
Creates a new instance.

Method Detail

store

protected Collection<Feature> store()
Returns the collection used for storing the features. The properties of a feature vector depend on the kind of collection that is used.

Specified by:
store in class FeatureVector
Returns:
the collection used for storing the features.


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.