public enum IndividualNodeSetPolicy extends Enum<IndividualNodeSetPolicy>
NodeSets of individuals for
queries that return node sets of named individuals such as
OWLReasoner.getTypes(org.semanticweb.owlapi.model.OWLNamedIndividual, boolean)
or
OWLReasoner.getInstances(org.semanticweb.owlapi.model.OWLClassExpression, boolean)
.| Enum Constant and Description |
|---|
BY_NAME
Indicates that
NodeSets of named individuals will always contain
singleton Nodes and individuals that are the same as each other
will not be grouped together in one Node within the
NodeSet.For example, if i, j and k are
individuals, and they are instances of C, and i is
entailed to be the same as j then asking for the instances of
A will return a NodeSet containing three
Nodes, one containing i, one containing j and the
third containing k. |
BY_SAME_AS
Indicates that
NodeSets of named individuals returned by the
reasoner will contain Nodes that group individuals which are
entailed to be the same as each other. |
| Modifier and Type | Method and Description |
|---|---|
static IndividualNodeSetPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndividualNodeSetPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndividualNodeSetPolicy BY_SAME_AS
NodeSets of named individuals returned by the
reasoner will contain Nodes that group individuals which are
entailed to be the same as each other. For example, if i,
j and k are individuals, and they are instances of
C, and i is entailed to be the same as j then
asking for the instances of A will return a NodeSet
containing two Nodes, one containing i and j and
the other containing k.public static final IndividualNodeSetPolicy BY_NAME
NodeSets of named individuals will always contain
singleton Nodes and individuals that are the same as each other
will not be grouped together in one Node within the
NodeSet.For example, if i, j and k are
individuals, and they are instances of C, and i is
entailed to be the same as j then asking for the instances of
A will return a NodeSet containing three
Nodes, one containing i, one containing j and the
third containing k.public static IndividualNodeSetPolicy[] values()
for (IndividualNodeSetPolicy c : IndividualNodeSetPolicy.values()) System.out.println(c);
public static IndividualNodeSetPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 The University of Manchester. All Rights Reserved.