Class OracleComparator


  • @Immutable
    public class OracleComparator
    extends Object
    This class contains the oracle and its precondition(s).
    • Constructor Detail

      • OracleComparator

        public OracleComparator​(String id,
                                Comparator oracle)
        Parameters:
        id - an identifier for the oracle
        oracle - the Oracle
      • OracleComparator

        public OracleComparator​(String id,
                                Comparator oracle,
                                List<Condition> preConditions)
        Parameters:
        id - an identifier for the oracle
        oracle - the Oracle
        preConditions - the preconditions that must be satisfied before the oracle comparator is used
      • OracleComparator

        public OracleComparator​(String id,
                                Comparator oracle,
                                Condition... preConditions)
        Parameters:
        id - an identifier for the oracle
        oracle - the Oracle
        preConditions - the preconditions that must be satisfied before the oracle comparator is used
    • Method Detail

      • getId

        public String getId()
        Returns:
        the Id
      • getOracle

        public Comparator getOracle()
        Returns:
        the Oracle
      • getPreConditions

        public List<Condition> getPreConditions()
        Returns:
        the preconditions