SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
@Override public Void visit(ForwardLinkCompositionMatch3 inferenceMatch3) { SubPropertyChainMatch1 premiseMatch1 = inferenceMatch3 .getFourthPremiseMatch(conclusionFactory_); inferences_.add(premiseMatch1, inferenceMatch3); for (SubPropertyChainMatch2 child : hierarchy_ .getChildren(premiseMatch1)) { (new SubPropertyChainMatch2InferenceVisitor(inferenceFactory_, child)).visit(inferenceMatch3); } return null; }
@Override public Void visit(ForwardLinkCompositionMatch3 inferenceMatch3) { SubPropertyChainMatch1 premiseMatch1 = inferenceMatch3 .getFourthPremiseMatch(conclusionFactory_); inferences_.add(premiseMatch1, inferenceMatch3); for (SubPropertyChainMatch2 child : hierarchy_ .getChildren(premiseMatch1)) { (new SubPropertyChainMatch2InferenceVisitor(inferenceFactory_, child)).visit(inferenceMatch3); } return null; }
SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
SubPropertyChainMatch2 getFourthPremiseMatch( ConclusionMatchExpressionFactory factory) { return factory.getSubPropertyChainMatch2( getParent().getFourthPremiseMatch(factory), getPremiseFullForwardChainMatch(), getPremiseForwardChainStartPos()); }
@Override public Void visit(ForwardLinkCompositionMatch3 inferenceMatch3) { SubPropertyChainMatch1 premiseMatch1 = inferenceMatch3 .getFourthPremiseMatch(conclusionFactory_); inferences_.add(premiseMatch1, inferenceMatch3); for (SubPropertyChainMatch2 child : hierarchy_ .getChildren(premiseMatch1)) { (new SubPropertyChainMatch2InferenceVisitor(inferenceFactory_, child)).visit(inferenceMatch3); } return null; }