@Override public String visit(ForwardLinkOfObjectSomeValuesFrom inference) { return String.format("%s -| %s", inference.getConclusion(factory_), inference.getPremise(factory_)); }
@Override public Conclusion getPremise(int index, Factory factory) { switch (index) { case 0: return getPremise(factory); default: return failGetPremise(index); } }
@Override public IndexedContextRoot getOrigin() { return getDestination(); }
@Override public ClassConclusion visit(ForwardLinkOfObjectSomeValuesFrom inference) { return inference.getConclusion(conclusionFactory_); }
@Override public O visit(ForwardLinkOfObjectSomeValuesFrom inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
ForwardLinkOfObjectSomeValuesFromMatch2( ForwardLinkOfObjectSomeValuesFromMatch1 parent, SubClassInclusionDecomposedMatch2 premiseMatch) { super(parent, premiseMatch); if (!getParent().getForwardRelationMatch() .equals(getPremiseSuperExpressionMatch().getPropertyMatch())) { throw new ElkMatchException( parent.getParent().getDecomposedExistential(), getPremiseSuperExpressionMatch()); } this.extendedOriginMatch_ = premiseMatch.getExtendedDestinationMatch(); checkEquals(premiseMatch, getPremiseMatch(DEBUG_FACTORY)); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }
public static void produceDecomposedExistentialLink( ClassInferenceProducer producer, IndexedContextRoot root, IndexedObjectSomeValuesFrom subsumer) { producer.produce( new BackwardLinkOfObjectSomeValuesFrom(root, subsumer)); if (!subsumer.getProperty().getSaturated() .getNonRedundantCompositionsByLeftSubProperty().isEmpty()) { producer.produce( new ForwardLinkOfObjectSomeValuesFrom(root, subsumer)); } }
@Override public ClassConclusion visit(ForwardLinkOfObjectSomeValuesFrom inference) { return inference.getConclusion(conclusionFactory_); }
@Override public O visit(ForwardLinkOfObjectSomeValuesFrom inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
ForwardLinkOfObjectSomeValuesFromMatch2( ForwardLinkOfObjectSomeValuesFromMatch1 parent, SubClassInclusionDecomposedMatch2 premiseMatch) { super(parent, premiseMatch); if (!getParent().getForwardRelationMatch() .equals(getPremiseSuperExpressionMatch().getPropertyMatch())) { throw new ElkMatchException( parent.getParent().getDecomposedExistential(), getPremiseSuperExpressionMatch()); } this.extendedOriginMatch_ = premiseMatch.getExtendedDestinationMatch(); checkEquals(premiseMatch, getPremiseMatch(DEBUG_FACTORY)); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }
public static void produceDecomposedExistentialLink( ClassInferenceProducer producer, IndexedContextRoot root, IndexedObjectSomeValuesFrom subsumer) { producer.produce( new BackwardLinkOfObjectSomeValuesFrom(root, subsumer)); if (!subsumer.getProperty().getSaturated() .getNonRedundantCompositionsByLeftSubProperty().isEmpty()) { producer.produce( new ForwardLinkOfObjectSomeValuesFrom(root, subsumer)); } }
@Override public String visit(ForwardLinkOfObjectSomeValuesFrom inference) { return String.format("%s -| %s", inference.getConclusion(factory_), inference.getPremise(factory_)); }
@Override public ClassConclusion visit(ForwardLinkOfObjectSomeValuesFrom inference) { return inference.getConclusion(conclusionFactory_); }
@Override public Conclusion getPremise(int index, Factory factory) { switch (index) { case 0: return getPremise(factory); default: return failGetPremise(index); } }
@Override public O visit(ForwardLinkOfObjectSomeValuesFrom inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
@Override public IndexedContextRoot getOrigin() { return getDestination(); }
ForwardLinkOfObjectSomeValuesFromMatch2( ForwardLinkOfObjectSomeValuesFromMatch1 parent, SubClassInclusionDecomposedMatch2 premiseMatch) { super(parent, premiseMatch); if (!getParent().getForwardRelationMatch() .equals(getPremiseSuperExpressionMatch().getPropertyMatch())) { throw new ElkMatchException( parent.getParent().getDecomposedExistential(), getPremiseSuperExpressionMatch()); } this.extendedOriginMatch_ = premiseMatch.getExtendedDestinationMatch(); checkEquals(premiseMatch, getPremiseMatch(DEBUG_FACTORY)); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }