@Override public BackwardLinkCompositionMatch5 getBackwardLinkCompositionMatch5( BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { return new BackwardLinkCompositionMatch5(parent, fourthPremiseMatch); }
BackwardLinkCompositionMatch5(BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { super(parent); this.fullPremiseForwardChainMatch_ = fourthPremiseMatch .getFullSubChainMatch(); this.premiseForwardChainStartPos_ = fourthPremiseMatch .getSubChainStartPos(); checkEquals(fourthPremiseMatch, getFourthPremiseMatch(DEBUG_FACTORY)); }
SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
@Override public String visit(BackwardLinkCompositionMatch5 inferenceMatch5) { return inferenceMatch5.getParent() + " | "; }
ForwardLinkMatch2 getThirdPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch2( getParent().getThirdPremiseMatch(factory), getDestinationMatch()); }
@Override public String visit(BackwardLinkCompositionMatch5 inferenceMatch5) { return inferenceMatch5.getParent() + " | "; }
ForwardLinkMatch2 getThirdPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch2( getParent().getThirdPremiseMatch(factory), getDestinationMatch()); }
SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
BackwardLinkCompositionMatch5(BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { super(parent); this.fullPremiseForwardChainMatch_ = fourthPremiseMatch .getFullSubChainMatch(); this.premiseForwardChainStartPos_ = fourthPremiseMatch .getSubChainStartPos(); checkEquals(fourthPremiseMatch, getFourthPremiseMatch(DEBUG_FACTORY)); }
@Override public String visit(BackwardLinkCompositionMatch5 inferenceMatch5) { return inferenceMatch5.getParent() + " | "; }
ForwardLinkMatch2 getThirdPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch2( getParent().getThirdPremiseMatch(factory), getDestinationMatch()); }
@Override public BackwardLinkCompositionMatch5 getBackwardLinkCompositionMatch5( BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { return new BackwardLinkCompositionMatch5(parent, fourthPremiseMatch); }
SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
BackwardLinkCompositionMatch5(BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { super(parent); this.fullPremiseForwardChainMatch_ = fourthPremiseMatch .getFullSubChainMatch(); this.premiseForwardChainStartPos_ = fourthPremiseMatch .getSubChainStartPos(); checkEquals(fourthPremiseMatch, getFourthPremiseMatch(DEBUG_FACTORY)); }
public ForwardLinkMatch1 getThirdPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch1( getParent().getParent().getParent().getParent().getParent() .getThirdPremise(factory), getParent().getParent().getOriginMatch(), fullPremiseForwardChainMatch_, premiseForwardChainStartPos_); }
@Override public Void visit(BackwardLinkCompositionMatch5 inferenceMatch5) { ForwardLinkMatch1 premiseMatch2 = inferenceMatch5 .getThirdPremiseMatch(conclusionFactory_); inferences_.add(premiseMatch2, inferenceMatch5); for (ForwardLinkMatch2 child : hierarchy_.getChildren(premiseMatch2)) { (new ForwardLinkMatch2InferenceVisitor(inferenceFactory_, child)) .visit(inferenceMatch5); } return null; }
@Override public BackwardLinkCompositionMatch5 getBackwardLinkCompositionMatch5( BackwardLinkCompositionMatch4 parent, SubPropertyChainMatch2 fourthPremiseMatch) { return new BackwardLinkCompositionMatch5(parent, fourthPremiseMatch); }
.getParent(); ElkSubObjectPropertyExpression premiseFullForwardChainMatch = inferenceMatch5 .getPremiseFullForwardChainMatch(); int premiseForwardChainStartPos = inferenceMatch5 .getPremiseForwardChainStartPos(); BackwardLinkCompositionMatch4 inferenceMatch4 = inferenceMatch5 .getParent(); BackwardLinkCompositionMatch3 inferenceMatch3 = inferenceMatch4 .getParent();
public ForwardLinkMatch1 getThirdPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getForwardLinkMatch1( getParent().getParent().getParent().getParent().getParent() .getThirdPremise(factory), getParent().getParent().getOriginMatch(), fullPremiseForwardChainMatch_, premiseForwardChainStartPos_); }
@Override public Void visit(BackwardLinkCompositionMatch5 inferenceMatch5) { ForwardLinkMatch1 premiseMatch2 = inferenceMatch5 .getThirdPremiseMatch(conclusionFactory_); inferences_.add(premiseMatch2, inferenceMatch5); for (ForwardLinkMatch2 child : hierarchy_.getChildren(premiseMatch2)) { (new ForwardLinkMatch2InferenceVisitor(inferenceFactory_, child)) .visit(inferenceMatch5); } return null; }