@Override public String visit(BackwardLinkOfObjectHasSelf 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 O visit(BackwardLinkOfObjectHasSelf inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
@Override public ClassConclusion visit(BackwardLinkOfObjectHasSelf inference) { return inference.getConclusion(conclusionFactory_); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }
public static void produceDecomposedExistentialLink( ClassInferenceProducer producer, IndexedContextRoot root, IndexedObjectHasSelf subsumer) { producer.produce( new BackwardLinkOfObjectHasSelf(root, subsumer)); if (!subsumer.getProperty().getSaturated() .getNonRedundantCompositionsByLeftSubProperty().isEmpty()) { producer.produce( new ForwardLinkOfObjectHasSelf(root, subsumer)); } }
public ElkObjectProperty getRelationMatch() { return getPremisePropertyMatch(getParent().getParent() .getDecomposedExistential().getProperty()); }
@Override public O visit(BackwardLinkOfObjectHasSelf inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
@Override public ClassConclusion visit(BackwardLinkOfObjectHasSelf inference) { return inference.getConclusion(conclusionFactory_); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }
public static void produceDecomposedExistentialLink( ClassInferenceProducer producer, IndexedContextRoot root, IndexedObjectHasSelf subsumer) { producer.produce( new BackwardLinkOfObjectHasSelf(root, subsumer)); if (!subsumer.getProperty().getSaturated() .getNonRedundantCompositionsByLeftSubProperty().isEmpty()) { producer.produce( new ForwardLinkOfObjectHasSelf(root, subsumer)); } }
public ElkObjectProperty getRelationMatch() { return getPremisePropertyMatch(getParent().getParent() .getDecomposedExistential().getProperty()); }
@Override public String visit(BackwardLinkOfObjectHasSelf 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 O visit(BackwardLinkOfObjectHasSelf inference) { conclusionVisitor_.visit(inference.getPremise(conclusionFactory_)); return null; }
@Override public ClassConclusion visit(BackwardLinkOfObjectHasSelf inference) { return inference.getConclusion(conclusionFactory_); }
public SubClassInclusionDecomposed getPremise( SubClassInclusionDecomposed.Factory factory) { return factory.getSubClassInclusionDecomposed(getOrigin(), existential_); }
public static void produceDecomposedExistentialLink( ClassInferenceProducer producer, IndexedContextRoot root, IndexedObjectHasSelf subsumer) { producer.produce( new BackwardLinkOfObjectHasSelf(root, subsumer)); if (!subsumer.getProperty().getSaturated() .getNonRedundantCompositionsByLeftSubProperty().isEmpty()) { producer.produce( new ForwardLinkOfObjectHasSelf(root, subsumer)); } }
@Override public IndexedContextRoot getOrigin() { return getDestination(); }