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)

Constructor Index

 o BestFirst.LinkedList2(BestFirst, int)
 

Method Index

 o addToList(BitSet, double)
adds an element (Link) to the list.
 o getLinkAt(int)
returns the element (Link) at a specific index from the list.
 o removeLinkAt(int)
removes an element (Link) at a specific index from the list.

Constructor Detail

 o BestFirst.LinkedList2
public BestFirst.LinkedList2(BestFirst this$0,
                             int sz)

Method Detail

 o 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.
 o 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.
 o 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