All Downloads are FREE. Search and download functionalities are using the official Maven repository.

astra.reasoner.node.ComparisonReasonerNodeFactory Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
package astra.reasoner.node;

import java.util.Map;

import astra.formula.Comparison;
import astra.term.Term;

public class ComparisonReasonerNodeFactory implements ReasonerNodeFactory {

    @Override
    public ReasonerNode create(Comparison formula, Map bindings, boolean singleResult) {
        return new ComparisonReasonerNode(null, formula, bindings, singleResult);
    }
    
    @Override
    public ReasonerNode create(ReasonerNode parent, Comparison formula, Map bindings, boolean singleResult) {
        return new ComparisonReasonerNode(parent, formula, bindings, singleResult);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy