|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.column.Algorithms
public class Algorithms
Various algorithms on columns.
| Constructor Summary | |
|---|---|
Algorithms()
|
|
| Method Summary | |
|---|---|
static IntPair |
computeMinMax(Column c,
Permutation perm)
Computes the index of the minimum and maximum elements contained in a specified column taking into account a Permutation. |
static IntPair |
computeMinMax(Column c,
Permutation perm,
IntPair p)
Computes the index of the minimum and maximum elements contained in a specified column taking into account a Permutation. |
static IntPair |
computeMinMax(Column c,
RowIterator iter)
Computes the index of the minimum and maximum elements contained in a specified column taking into account a RowIterator. |
static IntPair |
computeMinMax(Column c,
RowIterator iter,
IntPair p)
Computes the index of the minimum and maximum elements contained in a specified column taking into account a RowIterator. |
static double |
incrColumn(NumberColumn col,
int row)
Increments a NumberColumn at a specified row by one, setting it if it is undefined. |
static double |
incrColumn(NumberColumn col,
int row,
double v)
Increments a NumberColumn at a specified row by a specified amount, setting it if it is undefined. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Algorithms()
| Method Detail |
|---|
public static IntPair computeMinMax(Column c,
Permutation perm,
IntPair p)
Permutation.
c - the columnperm - the permutation or nullp - a pair of integers that will be returned or null if
a fresh one is wanted.
public static IntPair computeMinMax(Column c,
Permutation perm)
Permutation.
c - the columnperm - the permutation or null
public static IntPair computeMinMax(Column c,
RowIterator iter,
IntPair p)
RowIterator.
c - the columniter - the row iteratorp - a pair of integers that will be returned or null if
a fresh one is wanted.
public static IntPair computeMinMax(Column c,
RowIterator iter)
RowIterator.
c - the columniter - the row iterator
public static double incrColumn(NumberColumn col,
int row,
double v)
col - the number columnrow - the rowv - the value to add
public static double incrColumn(NumberColumn col,
int row)
col - the number columnrow - the row
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||