Interface PredicateFactory

All Known Implementing Classes:
DefaultPredicateFactory

public interface PredicateFactory
Factory for creating predicate instances in both the integraal and graal APIs.
Author:
Clément Sipieter (INRIA) <clement@6pi.fr>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Object identifier, int arity)
    Creates an integraal predicate.
    fr.lirmm.graphik.graal.api.core.Predicate
    create2(Object identifier, int arity)
    Creates a graal predicate.
  • Method Details

    • create

      Predicate create(Object identifier, int arity)
      Creates an integraal predicate.
      Parameters:
      identifier - the predicate identifier
      arity - the predicate arity
      Returns:
      the created predicate
    • create2

      fr.lirmm.graphik.graal.api.core.Predicate create2(Object identifier, int arity)
      Creates a graal predicate.
      Parameters:
      identifier - the predicate identifier
      arity - the predicate arity
      Returns:
      the created predicate