|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--weka.core.FastVector
|
+--weka.attributeSelection.BestFirst.LinkedList2
Class for handling a linked list. Used in best first search. Extends the Vector class.
| Inner classes inherited from class weka.core.FastVector |
FastVector.FastVectorEnumeration |
| Constructor Summary | |
BestFirst.LinkedList2(int sz)
|
|
| Method Summary | |
void |
addToList(java.util.BitSet gr,
double mer)
adds an element (Link) to the list. |
BestFirst.Link2 |
getLinkAt(int index)
returns the element (Link) at a specific index from the list. |
void |
removeLinkAt(int index)
removes an element (Link) at a specific index from the list. |
| Methods inherited from class weka.core.FastVector |
addElement, appendElements, capacity, copy, copyElements, elementAt, elements, elements, firstElement, indexOf, insertElementAt, lastElement, removeAllElements, removeElementAt, setCapacity, setElementAt, size, swap, toArray, trimToSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BestFirst.LinkedList2(int sz)
| Method Detail |
public void removeLinkAt(int index)
throws java.lang.Exception
index - the index of the element to be removed.
public BestFirst.Link2 getLinkAt(int index)
throws java.lang.Exception
index - the index of the element to be returned.
public void addToList(java.util.BitSet gr,
double mer)
throws java.lang.Exception
gr - the attribute set specificationmer - the "merit" of this attribute set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||