public class Multiple
extends java.lang.Object
Constructor and Description |
---|
Multiple()
Builder
|
Modifier and Type | Method and Description |
---|---|
static double |
combinatoria(int m,
int n)
Computes the (N/M) combinatory number
|
static java.util.Vector<java.util.Vector<Relation>> |
obtainExhaustive(java.util.Vector<java.lang.Integer> indices)
Obtain all exhaustive comparisons possible from an array of indexes
|
java.lang.String |
printC(int n)
Prints as many "c" as desired
|
void |
runPostHoc(double code,
int[] nfold,
java.lang.String[] algorithms,
java.lang.String fileName)
In this method, all possible post hoc statistical test between more than three algorithms results
are executed, according to the configuration file
|
static java.util.Vector<java.lang.Integer> |
trueHShaffer(int k)
Computes the trueHShaffer distribution from a given parameter.
|
static java.util.Vector<java.lang.Integer> |
unionVectores(java.util.Vector<java.lang.Integer> a,
java.util.Vector<java.lang.Integer> b)
Joins two vectors
|
public void runPostHoc(double code, int[] nfold, java.lang.String[] algorithms, java.lang.String fileName)
In this method, all possible post hoc statistical test between more than three algorithms results are executed, according to the configuration file
code
- A double that identifies which methods will be appliednfold
- A vector of int with fold number by algorithmalgorithms
- A vector of String with the names of the algorithmsfileName
- A String with the name of the output file
public static java.util.Vector<java.util.Vector<Relation>> obtainExhaustive(java.util.Vector<java.lang.Integer> indices)
indices
- A verctos of indexes.public static double combinatoria(int m, int n)
n
- N valuem
- M valuepublic static java.util.Vector<java.lang.Integer> trueHShaffer(int k)
k
- K parameterpublic static java.util.Vector<java.lang.Integer> unionVectores(java.util.Vector<java.lang.Integer> a, java.util.Vector<java.lang.Integer> b)
a
- First vectorb
- Second vectorpublic java.lang.String printC(int n)
n
- Number of "c" to print