Module logicng

Class SubNodeFunction

  • All Implemented Interfaces:
    FormulaFunction<LinkedHashSet<Formula>>

    public final class SubNodeFunction
    extends Object
    implements FormulaFunction<LinkedHashSet<Formula>>
    A function that computes all sub-nodes of a given formula. The order of the sub-nodes is bottom-up, i.e. a sub-node only appears in the result when all of its sub-nodes are already listed.
    Since:
    1.0
    Version:
    2.3.0
    • Constructor Detail

      • SubNodeFunction

        @Deprecated
        public SubNodeFunction()
        Deprecated.
        In the next version, the standard constructor will be replaced by a private constructor. In order to instantiate an object of this class, use the get() method.
    • Method Detail

      • get

        public static SubNodeFunction get()
        Returns the singleton instance of this function.
        Returns:
        an instance of this function