|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
vec_math.AbstractAnalyser
vec_math.StatisticAnalyser
public class StatisticAnalyser
Acts on data at a given index.
| Nested Class Summary | |
|---|---|
static class |
StatisticAnalyser.File
Use the statistic on file data. |
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private ClassicStatistic[] |
stat
For each index processed, we create a statistic. |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
StatisticAnalyser(Map<String,String> prop)
Creates a new phase dispersion minimizer. |
|
| Method Summary | |
|---|---|
void |
addValue(VectorG data)
Adds a data point to the statistic with the given index. |
private ClassicStatistic[] |
createStatistic(int dim)
Create the statistic object. |
void |
deleteValue(VectorG data)
Removes a data point to the statistic with the given index. |
long[] |
functionCalls(VectorG[] in)
We call only basic functions. |
VectorG |
getStatistic(int index)
Returns the average of the data, the standard deviation, skewness and kurtoises. |
Object[] |
metadata(VectorG[] in,
VectorG[] proc,
VectorG[] visual)
Minimum string length analysis have no metadata. |
VectorG[] |
process(VectorG[] in)
Calls the processing on all indices. |
void |
reset()
Default reset does nothing. |
double |
significance(double theta,
VectorG[] data,
VectorG[] p,
VectorG[] v)
Estimates the significance of a theta value by simple means of chi-square thesis. |
VectorG[] |
visualize(VectorG[] in,
VectorG[] v)
Data is already reduced to minimum. |
| Methods inherited from class vec_math.AbstractAnalyser |
|---|
getBootstrapData, getBootstrapData, getDiminishedData, getDiminishedData, getSyntheticData, getSyntheticData, runningAverage |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
private ClassicStatistic[] stat
| Constructor Detail |
|---|
public StatisticAnalyser(Map<String,String> prop)
| Method Detail |
|---|
public void reset()
AbstractAnalyser
reset in interface Analyserreset in class AbstractAnalyserpublic long[] functionCalls(VectorG[] in)
public VectorG[] process(VectorG[] in)
in - The measured data.
public VectorG[] visualize(VectorG[] in,
VectorG[] v)
visualize in interface Analyservisualize in class AbstractAnalyserin - The measured data.v - The processed data from Analyser.process(vec_math.VectorG[]).
public Object[] metadata(VectorG[] in,
VectorG[] proc,
VectorG[] visual)
in - The original data, before process.proc - The processed data from process(vec_math.VectorG[]).visual - The visualized data from visualize(vec_math.VectorG[], vec_math.VectorG[]).
public double significance(double theta,
VectorG[] data,
VectorG[] p,
VectorG[] v)
theta - The value whose significance is to be probed.data - The original data, before process.p - The processed data from Analyser.process(vec_math.VectorG[]).v - The visualized data from Analyser.visualize(vec_math.VectorG[], vec_math.VectorG[]).
public VectorG getStatistic(int index)
public void addValue(VectorG data)
public void deleteValue(VectorG data)
private ClassicStatistic[] createStatistic(int dim)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||