Class ProboReasoner

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Shell bash
      Which shell to use.
      private java.lang.String path_to_exec
      The path to the executable
      private Semantics semantics
      The semantics to be used
    • Constructor Summary

      Constructors 
      Constructor Description
      ProboReasoner​(java.lang.String path_to_exec, Semantics semantics)
      Constructs a new instance of ProboReasoner
      ProboReasoner​(java.lang.String path_to_exec, Semantics semantics, Shell bash)
      Constructs a new instance of ProboReasoner
    • Field Detail

      • path_to_exec

        private java.lang.String path_to_exec
        The path to the executable
      • bash

        private Shell bash
        Which shell to use.
      • semantics

        private Semantics semantics
        The semantics to be used
    • Constructor Detail

      • ProboReasoner

        public ProboReasoner​(java.lang.String path_to_exec,
                             Semantics semantics)
        Constructs a new instance of ProboReasoner
        Parameters:
        path_to_exec - the path to the probo-compliant solver
        semantics - The semantics to be used
      • ProboReasoner

        public ProboReasoner​(java.lang.String path_to_exec,
                             Semantics semantics,
                             Shell bash)
        Constructs a new instance of ProboReasoner
        Parameters:
        path_to_exec - the path to the probo-compliant solver
        semantics - The semantics to be used
        bash - the shell which should be used to run the solver
    • Method Detail

      • supportedFormats

        private java.util.Collection<FileFormat> supportedFormats()
        Gives a collection view of the supported formats of this solver, cf. FileFormat. For a description of these formats see the handbook for the argumentation competition.
        Returns:
        a collection view of the supported formats of this solver.
      • supportedProblems

        private java.util.Collection<ProboProblem> supportedProblems()
        Gives a collection view on the supported problems of this solver, cf. Problem. For a description of these problems see the handbook for the argumentation competition.
        Returns:
        a collection view on the supported problems of this solver.
      • query

        public java.lang.Boolean query​(DungTheory beliefbase,
                                       Argument formula,
                                       InferenceMode inferenceMode)
        Description copied from class: AbstractExtensionReasoner
        Queries the given AAF for the given argument using the given inference type.
        Overrides:
        query in class AbstractExtensionReasoner
        Parameters:
        beliefbase - an AAF
        formula - a single argument
        inferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS
        Returns:
        "true" if the argument is accepted