|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<T>
edu.gtts.sautrela.wfsa.Path<S,T>
public class Path<S extends State,T extends Transition<S,?>>
A growable but non modificable List of Transitions
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Path()
|
|
| Method Summary | |
|---|---|
void |
add(int index,
T t)
|
boolean |
add(T t)
|
T |
get(int index)
|
double |
getProb()
Returns the cumulative Probability of the path |
void |
setFinProb(double logProb)
|
int |
size()
|
java.util.List<S> |
stateList()
Returns a List view of the states in the path. |
| Methods inherited from class java.util.AbstractList |
|---|
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public Path()
| Method Detail |
|---|
public T get(int index)
get in interface java.util.List<T extends Transition<S,?>>get in class java.util.AbstractList<T extends Transition<S,?>>public int size()
size in interface java.util.Collection<T extends Transition<S,?>>size in interface java.util.List<T extends Transition<S,?>>size in class java.util.AbstractCollection<T extends Transition<S,?>>public boolean add(T t)
add in interface java.util.Collection<T extends Transition<S,?>>add in interface java.util.List<T extends Transition<S,?>>add in class java.util.AbstractList<T extends Transition<S,?>>
public void add(int index,
T t)
add in interface java.util.List<T extends Transition<S,?>>add in class java.util.AbstractList<T extends Transition<S,?>>public void setFinProb(double logProb)
public double getProb()
public java.util.List<S> stateList()
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||