edu.stanford.nlp.util
Class Beam

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--java.util.TreeSet
                    |
                    +--edu.stanford.nlp.util.Beam
All Implemented Interfaces:
Cloneable, Collection, Serializable, Set, SortedSet
Direct Known Subclasses:
LikelihoodBeam, TopBeam

public abstract class Beam
extends TreeSet

??

See Also:
Serialized Form

Constructor Summary
Beam()
           
Beam(int maxBeamSize)
           
Beam(int maxBeamSize, Comparator cmp)
           
 
Method Summary
 boolean add(Object o)
           
 boolean addAll(Collection c)
           
 int capacity()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection c)
           
 boolean retainAll(Collection c)
           
 
Methods inherited from class java.util.TreeSet
clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, size, subSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, toArray, toArray
 

Constructor Detail

Beam

public Beam()

Beam

public Beam(int maxBeamSize)

Beam

public Beam(int maxBeamSize,
            Comparator cmp)
Method Detail

capacity

public int capacity()

addAll

public boolean addAll(Collection c)
Specified by:
addAll in interface Set
Overrides:
addAll in class TreeSet

removeAll

public boolean removeAll(Collection c)
Specified by:
removeAll in interface Set
Overrides:
removeAll in class AbstractSet

retainAll

public boolean retainAll(Collection c)
Specified by:
retainAll in interface Set
Overrides:
retainAll in class AbstractCollection

add

public boolean add(Object o)
Specified by:
add in interface Set
Overrides:
add in class TreeSet

remove

public boolean remove(Object o)
Specified by:
remove in interface Set
Overrides:
remove in class TreeSet


Stanford NLP Group