public static class OwlSim.ScoreAttributeSetPair extends Object implements Comparable<OwlSim.ScoreAttributeSetPair>
Modifier and Type | Field and Description |
---|---|
Set<org.semanticweb.owlapi.model.OWLClass> |
attributeClassSet
Set of attributes that have the score
|
double |
score
Score shared by all attributes in attribute set
|
Constructor and Description |
---|
OwlSim.ScoreAttributeSetPair(double score)
Combined/Summary score
May vary depending on the method used
|
OwlSim.ScoreAttributeSetPair(double score,
org.semanticweb.owlapi.model.OWLClass ac) |
OwlSim.ScoreAttributeSetPair(double score,
Set<org.semanticweb.owlapi.model.OWLClass> acs) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeClass(org.semanticweb.owlapi.model.OWLClass ac)
Adds am attribute to set (first creating empty set if not already present)
|
int |
compareTo(OwlSim.ScoreAttributeSetPair p2) |
org.semanticweb.owlapi.model.OWLClass |
getArbitraryAttributeClass()
Deprecated.
|
void |
setAttributeClassSet(Set<org.semanticweb.owlapi.model.OWLClass> acs)
Setter
|
public double score
public Set<org.semanticweb.owlapi.model.OWLClass> attributeClassSet
public OwlSim.ScoreAttributeSetPair(double score, org.semanticweb.owlapi.model.OWLClass ac)
score
- ac
- public OwlSim.ScoreAttributeSetPair(double score, Set<org.semanticweb.owlapi.model.OWLClass> acs)
score
- acs
- public OwlSim.ScoreAttributeSetPair(double score)
score
- public void addAttributeClass(org.semanticweb.owlapi.model.OWLClass ac)
ac
- public void setAttributeClassSet(Set<org.semanticweb.owlapi.model.OWLClass> acs)
acs
- public int compareTo(OwlSim.ScoreAttributeSetPair p2)
compareTo
in interface Comparable<OwlSim.ScoreAttributeSetPair>
@Deprecated public org.semanticweb.owlapi.model.OWLClass getArbitraryAttributeClass()
Copyright © 2010–2015. All rights reserved.