Class PartialApplicationUtils
java.lang.Object
org.projog.core.predicate.builtin.list.PartialApplicationUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapply(PredicateFactory pf, Term[] args) static Term[]createArguments(Term partiallyAppliedFunction, Term... extraArguments) static PredicateFactorygetCurriedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction) static PredicateFactorygetPartiallyAppliedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction, int numberOfExtraArguments) static PredicategetPredicate(PredicateFactory pf, Term action, Term... args) static PredicateFactorygetPreprocessedCurriedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction) static PredicateFactorygetPreprocessedPartiallyAppliedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction, int extraArgs) static booleanisAtomOrStructure(Term arg) (package private) static booleanstatic boolean
-
Field Details
-
KEY_VALUE_PAIR_FUNCTOR
- See Also:
-
-
Constructor Details
-
PartialApplicationUtils
public PartialApplicationUtils()
-
-
Method Details
-
isAtomOrStructure
-
isList
-
getCurriedPredicateFactory
public static PredicateFactory getCurriedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction) -
getPreprocessedCurriedPredicateFactory
public static PredicateFactory getPreprocessedCurriedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction) -
getPreprocessedPartiallyAppliedPredicateFactory
public static PredicateFactory getPreprocessedPartiallyAppliedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction, int extraArgs) -
getPartiallyAppliedPredicateFactory
public static PredicateFactory getPartiallyAppliedPredicateFactory(Predicates predicates, Term partiallyAppliedFunction, int numberOfExtraArguments) -
createArguments
-
apply
-
getPredicate
-
isKeyValuePair
-