Module logicng

Class VariablesFunction

    • Method Detail

      • get

        public static VariablesFunction get()
        Returns the singleton of the function.
        Returns:
        the function instance
      • apply

        public SortedSet<Variable> apply​(Formula formula,
                                         boolean cache)
        Description copied from interface: FormulaFunction
        Applies this function to a given formula.
        Specified by:
        apply in interface FormulaFunction<SortedSet<Variable>>
        Parameters:
        formula - the input formula
        cache - indicates whether the result should be cached in this formula's cache
        Returns:
        the result of the application