java.lang.Object
weka.classifiers.functions.supportVector.SMOset
所有已实现的接口:
Serializable, RevisionHandler

public class SMOset extends Object implements Serializable, RevisionHandler
Stores a set of integer of a given size.
版本:
$Revision: 1.5 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz)
另请参阅:
  • 构造器概要

    构造器
    构造器
    说明
    SMOset(int size)
    Creates a new set of the given size.
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    contains(int index)
    Checks whether an element is in the set.
    void
    delete(int index)
    Deletes an element from the set.
    int
    getNext(int index)
    Gets the next element in the set.
    Returns the revision string.
    void
    insert(int index)
    Inserts an element into the set.
    int
    Returns the number of elements in the set.
    void
    Prints all the current elements in the set.

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • SMOset

      public SMOset(int size)
      Creates a new set of the given size.
  • 方法详细资料

    • contains

      public boolean contains(int index)
      Checks whether an element is in the set.
    • delete

      public void delete(int index)
      Deletes an element from the set.
    • insert

      public void insert(int index)
      Inserts an element into the set.
    • getNext

      public int getNext(int index)
      Gets the next element in the set. -1 gets the first one.
    • printElements

      public void printElements()
      Prints all the current elements in the set.
    • numElements

      public int numElements()
      Returns the number of elements in the set.
    • getRevision

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