@PortedFrom(file="LogicFeature.h", name="LogicFeatures") public class LogicFeatures extends Object implements Serializable
| Constructor and Description |
|---|
LogicFeatures()
default c'tor
|
LogicFeatures(LogicFeatures lf)
copy c'tor
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillConceptData(Concept p) |
void |
fillDAGData(DLVertex v,
boolean pos) |
void |
fillRoleData(Role p,
boolean both) |
boolean |
hasFunctionalRestriction() |
boolean |
hasInverseRole() |
boolean |
hasNumberRestriction() |
boolean |
hasQNumberRestriction() |
boolean |
hasSelfRef() |
boolean |
hasSingletons() |
boolean |
hasSomeAll() |
boolean |
hasTopRole() |
boolean |
isEmpty() |
void |
mergeRoles()
build bothRoles from single Roles flags
|
void |
or(LogicFeatures lf)
operator add
|
static LogicFeatures |
plus(LogicFeatures f1,
LogicFeatures f2) |
void |
setInverseRoles()
allow user to set presence of inverse roles
|
void |
writeState(LogAdapter l) |
public LogicFeatures()
public LogicFeatures(LogicFeatures lf)
lf - lf@PortedFrom(file="LogicFeature.h", name="or") public void or(LogicFeatures lf)
lf - lf@PortedFrom(file="LogicFeature.h", name="hasInverseRole") public boolean hasInverseRole()
@PortedFrom(file="LogicFeature.h", name="hasSomeAll") public boolean hasSomeAll()
@PortedFrom(file="LogicFeature.h", name="hasFunctionalRestriction") public boolean hasFunctionalRestriction()
@PortedFrom(file="LogicFeature.h", name="hasNumberRestriction") public boolean hasNumberRestriction()
@PortedFrom(file="LogicFeature.h", name="hasQNumberRestriction") public boolean hasQNumberRestriction()
@PortedFrom(file="LogicFeature.h", name="hasSingletons") public boolean hasSingletons()
@PortedFrom(file="LogicFeature.h", name="hasSelfRef") public boolean hasSelfRef()
@PortedFrom(file="LogicFeature.h", name="hasTopRole") public boolean hasTopRole()
@PortedFrom(file="LogicFeature.h", name="empty") public boolean isEmpty()
@PortedFrom(file="LogicFeature.h", name="mergeRoles") public void mergeRoles()
@PortedFrom(file="LogicFeature.h", name="setInverseRoles") public void setInverseRoles()
@PortedFrom(file="LogicFeature.h", name="+") public static LogicFeatures plus(LogicFeatures f1, LogicFeatures f2)
f1 - f1f2 - f2@PortedFrom(file="LogicFeature.h", name="fillConceptData") public void fillConceptData(Concept p)
p - p@PortedFrom(file="LogicFeature.h", name="fillRoleData") public void fillRoleData(Role p, boolean both)
p - pboth - both@PortedFrom(file="LogicFeature.h", name="fillDAGData") public void fillDAGData(DLVertex v, boolean pos)
v - vpos - pos@PortedFrom(file="LogicFeature.h", name="writeState") public void writeState(LogAdapter l)
l - lCopyright © 2016 The University of Manchester. All rights reserved.