All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.attributeSelection.BestFirst.LinkedList2
java.lang.Object
|
+----weka.core.FastVector
|
+----weka.attributeSelection.BestFirst.LinkedList2
- public class BestFirst.LinkedList2
- extends FastVector
Class for handling a linked list. Used in best first search.
Extends the Vector class.
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
BestFirst.LinkedList2(BestFirst, int)
-
addToList(BitSet, double)
- adds an element (Link) to the list.
getLinkAt(int)
- returns the element (Link) at a specific index from the list.
removeLinkAt(int)
- removes an element (Link) at a specific index from the list.
BestFirst.LinkedList2
public BestFirst.LinkedList2(BestFirst this$0,
int sz)
removeLinkAt
public void removeLinkAt(int index) throws java.lang.Exception
removes an element (Link) at a specific index from the list.
- Parameters:
index
- the index of the element to be removed.
getLinkAt
public BestFirst.Link2 getLinkAt(int index) throws java.lang.Exception
returns the element (Link) at a specific index from the list.
- Parameters:
index
- the index of the element to be returned.
addToList
public void addToList(java.util.BitSet gr,
double mer) throws java.lang.Exception
adds an element (Link) to the list.
- Parameters:
gr
- the attribute set specification
mer
- the "merit" of this attribute set
All Packages Class Hierarchy This Package Previous Next Index WEKA's home