public final class Derivation extends Link
| Modifier and Type | Class and Description |
|---|---|
static class |
Derivation.Behavior
For configuring the direction of the traversal and how many derivation
steps to traverse.
|
| Constructor and Description |
|---|
Derivation(String[] propositionIds,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int index,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int fromIndex,
int toIndex,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int fromIndex,
int toIndex,
Value[] allowedValues,
Derivation.Behavior behavior,
Relation relation) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Comparator<Proposition> comparator,
int index,
Value[] allowedValues,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Value[] allowedValues,
Derivation.Behavior behavior) |
Derivation(String[] propositionIds,
PropertyConstraint[] constraints,
Value[] allowedValues,
Derivation.Behavior behavior,
Relation relation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Value[] |
getAllowedValues() |
Derivation.Behavior |
getBehavior() |
String[] |
getInferredPropositionIds(KnowledgeSource knowledgeSource,
String[] inPropIds)
Aggregates and returns the possible proposition ids on the right-hand
side of the link.
|
Relation |
getRelation() |
int |
hashCode() |
String |
toString() |
createResults, getComparator, getConstraints, getFromIndex, getPropositionIds, getToIndex, isMatchpublic Derivation(String[] propositionIds, Derivation.Behavior behavior)
public Derivation(String[] propositionIds, PropertyConstraint[] constraints, Derivation.Behavior behavior)
public Derivation(String[] propositionIds, PropertyConstraint[] constraints, Value[] allowedValues, Derivation.Behavior behavior) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionpublic Derivation(String[] propositionIds, PropertyConstraint[] constraints, Value[] allowedValues, Derivation.Behavior behavior, Relation relation)
public Derivation(String[] propositionIds, PropertyConstraint[] constraints, Comparator<Proposition> comparator, int index, Derivation.Behavior behavior) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionpublic Derivation(String[] propositionIds, PropertyConstraint[] constraints, Comparator<Proposition> comparator, int index, Value[] allowedValues, Derivation.Behavior behavior)
public Derivation(String[] propositionIds, PropertyConstraint[] constraints, Comparator<Proposition> comparator, int fromIndex, int toIndex, Derivation.Behavior behavior) throws KnowledgeSourceReadException
KnowledgeSourceReadExceptionpublic Derivation(String[] propositionIds, PropertyConstraint[] constraints, Comparator<Proposition> comparator, int fromIndex, int toIndex, Value[] allowedValues, Derivation.Behavior behavior, Relation relation)
public String[] getInferredPropositionIds(KnowledgeSource knowledgeSource, String[] inPropIds) throws KnowledgeSourceReadException
LinkgetInferredPropositionIds in class LinkinPropIds - the proposition ids inferred from the previous link, or
the row proposition id if this is the first link.Strings.KnowledgeSourceReadExceptionpublic Derivation.Behavior getBehavior()
public Value[] getAllowedValues()
public Relation getRelation()
Copyright © 2012–2018 Emory University. All rights reserved.