public class SizeEstimate extends Object
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CHECK_CONCEPT_SAT |
protected static Logger |
log |
static double |
UNKNOWN_PROB |
| Constructor and Description |
|---|
SizeEstimate(KnowledgeBase kb) |
| Modifier and Type | Method and Description |
|---|---|
double |
avg(aterm.ATermAppl pred) |
double |
avgClassesPerInstance(boolean direct) |
double |
avgComplementClasses() |
double |
avgDifferentsPerInstance() |
double |
avgDirectInstancesPerClass() |
double |
avgDisjointClasses() |
double |
avgEquivClasses() |
double |
avgEquivProperties() |
double |
avgInstancesPerClass(boolean direct) |
double |
avgInverseProperties() |
double |
avgPairsPerProperty() |
double |
avgSamesPerInstance() |
double |
avgSubClasses(boolean direct) |
double |
avgSubjectsPerProperty() |
double |
avgSubProperties(boolean direct) |
double |
avgSuperClasses(boolean direct) |
double |
avgSuperProperties(boolean direct) |
int |
classesPerInstance(aterm.ATermAppl i,
boolean direct) |
double |
complements(aterm.ATermAppl sup) |
void |
compute(Collection<aterm.ATermAppl> cs,
Collection<aterm.ATermAppl> ps) |
void |
computeAll() |
void |
computKBCosts() |
double |
differents(aterm.ATermAppl sup) |
double |
disjoints(aterm.ATermAppl sup) |
double |
equivClasses(aterm.ATermAppl sup) |
double |
equivProperties(aterm.ATermAppl sup) |
int |
getClassCount() |
long |
getCost(KBOperation operation) |
int |
getDataPropertyCount() |
int |
getFunctionalPropertyCount() |
int |
getInstanceCount() |
int |
getInverseFunctionalPropertyCount() |
int |
getObjectPropertyCount() |
int |
getPropertyCount() |
int |
getSymmetricPropertyCount() |
int |
getTransitivePropertyCount() |
double |
inverses(aterm.ATermAppl sup) |
boolean |
isComputed(aterm.ATermAppl term) |
boolean |
isKBComputed() |
double |
sames(aterm.ATermAppl sup) |
int |
size(aterm.ATermAppl c) |
double |
subClasses(aterm.ATermAppl sup,
boolean direct) |
double |
subProperties(aterm.ATermAppl sup,
boolean direct) |
double |
superClasses(aterm.ATermAppl sup,
boolean direct) |
double |
superProperties(aterm.ATermAppl sup,
boolean direct) |
protected static final Logger log
public static double UNKNOWN_PROB
public static boolean CHECK_CONCEPT_SAT
public SizeEstimate(KnowledgeBase kb)
public boolean isKBComputed()
public void computKBCosts()
public void computeAll()
public boolean isComputed(aterm.ATermAppl term)
public void compute(Collection<aterm.ATermAppl> cs, Collection<aterm.ATermAppl> ps)
public int size(aterm.ATermAppl c)
public int classesPerInstance(aterm.ATermAppl i,
boolean direct)
public double avg(aterm.ATermAppl pred)
public int getClassCount()
public int getInstanceCount()
public int getPropertyCount()
public int getObjectPropertyCount()
public int getDataPropertyCount()
public int getFunctionalPropertyCount()
public int getInverseFunctionalPropertyCount()
public int getTransitivePropertyCount()
public int getSymmetricPropertyCount()
public double avgInstancesPerClass(boolean direct)
public double avgDirectInstancesPerClass()
public double avgPairsPerProperty()
public double avgSubjectsPerProperty()
public double avgSubClasses(boolean direct)
public double avgSuperClasses(boolean direct)
public double avgEquivClasses()
public double avgDisjointClasses()
public double avgComplementClasses()
public double avgSubProperties(boolean direct)
public double avgSuperProperties(boolean direct)
public double avgEquivProperties()
public double avgInverseProperties()
public double avgSamesPerInstance()
public double avgDifferentsPerInstance()
public double avgClassesPerInstance(boolean direct)
public double subClasses(aterm.ATermAppl sup,
boolean direct)
public double subProperties(aterm.ATermAppl sup,
boolean direct)
public double superClasses(aterm.ATermAppl sup,
boolean direct)
public double superProperties(aterm.ATermAppl sup,
boolean direct)
public double equivClasses(aterm.ATermAppl sup)
public double equivProperties(aterm.ATermAppl sup)
public double sames(aterm.ATermAppl sup)
public double differents(aterm.ATermAppl sup)
public double disjoints(aterm.ATermAppl sup)
public double complements(aterm.ATermAppl sup)
public double inverses(aterm.ATermAppl sup)
public long getCost(KBOperation operation)
Copyright © 2019. All rights reserved.