|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.forth.ics.vrp.statistics.RDFModelStatistics
Computes & Reports statistics based on the model & the RDF_DAG for subclass and subproperty hierarchies constructed by VRP.
| Field Summary | |
static int |
ANCESTOR_DIST
Constant used to indicate that the the distribution is computed on the ancestors |
static int |
CLASS_HIERARCHY
Constant used to indicate that the type of a hierarchy is Class Hierarchy. |
static int |
DESCENDANT_DIST
Constant used to indicate that the the distribution is computed on the descendants |
static int |
PROPERTY_HIERARCHY
Constant used to indicate that the type of a hierarchy is Property Hierarchy. |
| Constructor Summary | |
RDFModelStatistics(Model mdl)
|
|
| Method Summary | |
java.util.HashMap |
getInstanceDistribution()
Returns the instances distribution. |
java.util.HashMap |
instancesPerClass()
Returns the number of instances of each class |
void |
printHierarchyStatistics(RDF_DAG rdf_dag,
int hierType)
Prints the statistics either for the class or property hierarchy contained in the RDF_DAG. |
void |
printInstanceDistribution()
Prints the number of instances per class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int CLASS_HIERARCHY
public static int PROPERTY_HIERARCHY
public static int DESCENDANT_DIST
public static int ANCESTOR_DIST
| Constructor Detail |
public RDFModelStatistics(Model mdl)
| Method Detail |
public java.util.HashMap instancesPerClass()
public java.util.HashMap getInstanceDistribution()
public void printInstanceDistribution()
public void printHierarchyStatistics(RDF_DAG rdf_dag,
int hierType)
rdf_dag - the RDF_DAG that represents the HierarchyhierType - if equals to CLASS_HIERARCHY indicates that the rdf_dag
contains the class hierarchy otherwise the rdf_dag contains the property hierarchy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||