Class AbstractDialecticalFramework

    • Method Detail

      • bipolar

        public boolean bipolar()
        Checks if the ADF is bipolar. May compute all links to do so.
        Returns:
        true iff all of the links are bipolar
      • kBipolar

        public long kBipolar()
      • containsArgument

        public boolean containsArgument​(Argument a)
      • omegaReduct

        public AbstractDialecticalFramework omegaReduct​(Interpretation interpretation)
        Computes a reduct of this ADF relative to the given interpretation s.t. all unsatisfied arguments are replaced with false.
        Parameters:
        interpretation -
        Returns:
        the reduct
      • linksFromParents

        public Stream<Link> linksFromParents​(Argument b)
        Parameters:
        b -
        Returns:
        a stream of links (a,b)
      • linksToChildren

        public Stream<Link> linksToChildren​(Argument a)
        Parameters:
        a -
        Returns:
        a stream of links (a,b)
      • link

        public Link link​(Argument a,
                         Argument b)
        Computes the link (a,b) iff necessary and returns it afterwards.
        Parameters:
        a -
        b -
        Returns:
        (a,b)
      • setLinkStrategy

        public void setLinkStrategy​(LinkStrategy linkStrategy)
        Parameters:
        linkStrategy - the strategy which is used for computing the links
      • getMinimalSignature

        public net.sf.tweety.commons.Signature getMinimalSignature()
        Specified by:
        getMinimalSignature in interface net.sf.tweety.commons.BeliefBase