|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.functions.supportVector.SMOset
public class SMOset
Stores a set of integer of a given size.
| Constructor Summary | |
|---|---|
SMOset(int size)
Creates a new set of the given size. |
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
getRevision()
Returns the revision string. |
void |
insert(int index)
Inserts an element into the set. |
int |
numElements()
Returns the number of elements in the set. |
void |
printElements()
Prints all the current elements in the set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMOset(int size)
| Method Detail |
|---|
public boolean contains(int index)
public void delete(int index)
public void insert(int index)
public int getNext(int index)
public void printElements()
public int numElements()
public java.lang.String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||