|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.classifiers.m5.Ivector
Class for handling integer vector
Constructor Summary | |
Ivector()
|
Method Summary | |
static int[] |
combine(int[] list1,
int[] list2)
Outputs a new integer vector which contains all the values in two integer vectors; assuming list1 and list2 are incrementally sorted and no identical integers within each integer vector |
static int[] |
copy(int[] a,
int n)
Makes a copy of the first n elements in an integer vector |
static String |
toString(int[] a,
int first,
int last)
Converts a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Ivector()
Method Detail |
public static final String toString(int[] a, int first, int last)
a
- an integer vectorfirst
- the index of the first element needed printing in a[]last
- the index of the last element needed printing in a[]
public static final int[] copy(int[] a, int n)
a
- an integer vectorn
- the number of elemented needed copying
public static final int[] combine(int[] list1, int[] list2)
list1
- integer vector 1list2
- integer vector 2 Input: list1,list2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |