类 LFSMethods.LinkedList2

java.lang.Object
weka.core.FastVector
weka.attributeSelection.LFSMethods.LinkedList2
所有已实现的接口:
Serializable, Copyable, RevisionHandler
封闭类:
LFSMethods

public class LFSMethods.LinkedList2 extends FastVector
Class for handling a linked list. Used in best first search. Extends the Vector class.
作者:
Mark Hall (mhall@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • LinkedList2

      public LinkedList2(int sz)
  • 方法详细资料

    • removeLinkAt

      public void removeLinkAt(int index) throws Exception
      removes an element (Link) at a specific index from the list.
      参数:
      index - the index of the element to be removed.
      抛出:
      Exception
    • getLinkAt

      public LFSMethods.Link2 getLinkAt(int index) throws Exception
      returns the element (Link) at a specific index from the list.
      参数:
      index - the index of the element to be returned.
      抛出:
      Exception
    • addToList

      public void addToList(Object[] data, double mer) throws Exception
      adds an element (Link) to the list.
      参数:
      gr - the attribute set specification
      mer - the "merit" of this attribute set
      抛出:
      Exception
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 FastVector
      返回:
      the revision