|
||||||||||
| 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<E>
java.util.ArrayList<E>
weka.core.FastVector
weka.attributeSelection.LFSMethods.LinkedList2
public class LFSMethods.LinkedList2
Class for handling a linked list. Used in best first search. Extends the Vector class.
| Constructor Summary | |
|---|---|
LFSMethods.LinkedList2(int sz)
|
|
| Method Summary | |
|---|---|
void |
addToList(java.lang.Object[] data,
double mer)
adds an element (Link) to the list. |
LFSMethods.Link2 |
getLinkAt(int index)
returns the element (Link) at a specific index from the list. |
java.lang.String |
getRevision()
Returns the revision string. |
void |
removeLinkAt(int index)
removes an element (Link) at a specific index from the list. |
| Methods inherited from class weka.core.FastVector |
|---|
addElement, appendElements, copy, copyElements, elementAt, elements, elements, firstElement, insertElementAt, lastElement, removeAllElements, removeElementAt, setCapacity, setElementAt, swap |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public LFSMethods.LinkedList2(int sz)
| Method Detail |
|---|
public void removeLinkAt(int index)
throws java.lang.Exception
index - the index of the element to be removed.
java.lang.Exception
public LFSMethods.Link2 getLinkAt(int index)
throws java.lang.Exception
index - the index of the element to be returned.
java.lang.Exception
public void addToList(java.lang.Object[] data,
double mer)
throws java.lang.Exception
data - the data to addmer - the "merit" of this attribute set
java.lang.Exceptionpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class FastVector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||