|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.m4.core.EstimatedStatistics
EstimatedStatistics
Field Summary |
Fields inherited from interface edu.udo.cs.miningmart.m4.EstimatedStatistics |
VALUE_DISCRETE_UNKNOWN, VALUE_DOUBLE_UNKNOWN, VALUE_INT_UNKNOWN |
Constructor Summary | |
EstimatedStatistics(Concept theConcept)
This constructor creates an EstimatedStatistics object for the given Concept. |
Method Summary | |
void |
addAttribute(java.lang.String nameOfAttribute)
|
void |
addValueInformation(java.lang.String nameOfAttribute,
java.lang.String value,
int noOfOccurrences)
|
EstimatedStatistics |
copy()
|
void |
copyValueList(java.lang.String nameOfDestinationAttribute,
EstimatedStatistics from,
java.lang.String nameOfSourceAttribute)
Copy the list of values (with their number of occurrences) of the attribute with name nameOfSourceAttribute from
the given EstimatedStatistics object to this object, to the
attribute with name nameOfDestinationAttribute . |
double |
getBiggestValue(java.lang.String nameOfAttribute)
|
double |
getLowestValue(java.lang.String nameOfAttribute)
|
int |
getNumberOfMissingValues(java.lang.String nameOfAttribute)
|
int |
getNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value)
|
int |
getNumberOfRows()
|
java.util.Vector |
getValueList(java.lang.String nameOfAttribute)
Returns a Vector with the values this attribute takes. |
void |
removeValue(java.lang.String value,
java.lang.String nameOfAttribute)
Removes the given value from the list of values of the given attribute. |
void |
setBiggestValue(java.lang.String nameOfAttribute,
double value)
|
void |
setLowestValue(java.lang.String nameOfAttribute,
double value)
|
void |
setNumberOfMissingValues(java.lang.String nameOfAttribute,
int number)
|
void |
setNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value,
int number)
|
void |
setNumberOfRows(int numberOfRows)
|
void |
setValueList(java.lang.String nameOfAttribute,
java.util.Vector theValues)
Sets the list of occurring values of the given attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EstimatedStatistics(Concept theConcept) throws M4Exception
Method Detail |
public java.util.Vector getValueList(java.lang.String nameOfAttribute)
EstimatedStatistics
getValueList
in interface EstimatedStatistics
nameOfAttribute
-
EstimatedStatistics.getValueList(String)
public void setValueList(java.lang.String nameOfAttribute, java.util.Vector theValues)
EstimatedStatistics
setValueList
in interface EstimatedStatistics
nameOfAttribute
- theValues
- a Vector with Stringspublic void copyValueList(java.lang.String nameOfDestinationAttribute, EstimatedStatistics from, java.lang.String nameOfSourceAttribute)
EstimatedStatistics
nameOfSourceAttribute
from
the given EstimatedStatistics object to this object, to the
attribute with name nameOfDestinationAttribute
.
copyValueList
in interface EstimatedStatistics
nameOfDestinationAttribute
- name of attribute to which to set
the copied listfrom
- the given EstimatedStatistics objectnameOfSourceAttribute
- name of attribute from which to copypublic void removeValue(java.lang.String value, java.lang.String nameOfAttribute)
EstimatedStatistics
removeValue
in interface EstimatedStatistics
value
- nameOfAttribute
- EstimatedStatistics.removeValue(String, String)
public int getNumberOfMissingValues(java.lang.String nameOfAttribute)
getNumberOfMissingValues
in interface EstimatedStatistics
EstimatedStatistics.getNumberOfMissingValues(String)
public void setNumberOfMissingValues(java.lang.String nameOfAttribute, int number)
setNumberOfMissingValues
in interface EstimatedStatistics
EstimatedStatistics.setNumberOfMissingValues(String, int)
public double getBiggestValue(java.lang.String nameOfAttribute)
getBiggestValue
in interface EstimatedStatistics
EstimatedStatistics.getBiggestValue(String)
public void setBiggestValue(java.lang.String nameOfAttribute, double value)
setBiggestValue
in interface EstimatedStatistics
EstimatedStatistics.setBiggestValue(String, double)
public void setLowestValue(java.lang.String nameOfAttribute, double value)
setLowestValue
in interface EstimatedStatistics
EstimatedStatistics.setLowestValue(String, double)
public double getLowestValue(java.lang.String nameOfAttribute)
getLowestValue
in interface EstimatedStatistics
EstimatedStatistics.getLowestValue(String)
public int getNumberOfRows()
getNumberOfRows
in interface EstimatedStatistics
EstimatedStatistics.getNumberOfRows()
public void setNumberOfRows(int numberOfRows)
setNumberOfRows
in interface EstimatedStatistics
EstimatedStatistics.setNumberOfRows(int)
public void setNumberOfOccurrences(java.lang.String nameOfAttribute, java.lang.String value, int number)
setNumberOfOccurrences
in interface EstimatedStatistics
public int getNumberOfOccurrences(java.lang.String nameOfAttribute, java.lang.String value)
getNumberOfOccurrences
in interface EstimatedStatistics
public EstimatedStatistics copy()
copy
in interface EstimatedStatistics
public void addValueInformation(java.lang.String nameOfAttribute, java.lang.String value, int noOfOccurrences)
addValueInformation
in interface EstimatedStatistics
public void addAttribute(java.lang.String nameOfAttribute)
addAttribute
in interface EstimatedStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |