Class ExcludeTwoValuedSubinterpretationsIterator

java.lang.Object
org.tweetyproject.arg.adf.util.ExcludeTwoValuedSubinterpretationsIterator
All Implemented Interfaces:
Iterator<Interpretation>

public class ExcludeTwoValuedSubinterpretationsIterator extends Object implements Iterator<Interpretation>
Iterates through all two-valued(!) interpretations except the ones equal to or more specific than the provided ones.
Author:
Mathias Hofer
  • Constructor Details

    • ExcludeTwoValuedSubinterpretationsIterator

      public ExcludeTwoValuedSubinterpretationsIterator(List<Interpretation> interpretations)
      Constructs a new ExcludeTwoValuedSubinterpretationsIterator that iterates over a list of interpretations, excluding two-valued subinterpretations according to a specific order and structure.
      Parameters:
      interpretations - A list of Interpretation objects to be iterated over. The list must not be null or empty.
      Throws:
      IllegalArgumentException - if the list of interpretations is null or empty.
  • Method Details