Uses of Class
org.tweetyproject.lp.asp.syntax.Program
-
-
-
Uses of Program in org.tweetyproject.arg.lp.syntax
Constructors in org.tweetyproject.arg.lp.syntax with parameters of type Program Constructor Description ArgumentationKnowledgeBase(Program program) -
Uses of Program in org.tweetyproject.logics.translators.aspnlp
Methods in org.tweetyproject.logics.translators.aspnlp that return Program Modifier and Type Method Description ProgramAspNlpTranslator. toASP(NLPProgram program)Translate the given NLP-program into an ASP-program.ProgramAspNlpTranslator. toASP(NLPRule rule)Translates the given NLP-rule into an ASP Program.Methods in org.tweetyproject.logics.translators.aspnlp with parameters of type Program Modifier and Type Method Description NLPProgramAspNlpTranslator. toNLP(Program program) -
Uses of Program in org.tweetyproject.lp.asp.analysis
Methods in org.tweetyproject.lp.asp.analysis with parameters of type Program Modifier and Type Method Description java.lang.DoublePmInconsistencyMeasure. inconsistencyMeasure(Program beliefBase)java.lang.DoubleSdInconsistencyMeasure. inconsistencyMeasure(Program beliefBase) -
Uses of Program in org.tweetyproject.lp.asp.beliefdynamics.baserevision
Methods in org.tweetyproject.lp.asp.beliefdynamics.baserevision that return Program Modifier and Type Method Description ProgramScreenedMaxichoiceConsolidation. consolidate(Program p)Calculates the screened consolidation !r of program p using a maxi-choice selection function s, i.e.ProgramScreenedRemainderSets. getScreen()Returns the screened rules that are contained in every remainder set.ProgramScreenedRemainderSets. getSourceBeliefBase()Returns the original program p for which this set represents the set of remainder sets.Methods in org.tweetyproject.lp.asp.beliefdynamics.baserevision that return types with arguments of type Program Modifier and Type Method Description java.util.Collection<Program>ScreenedRemainderSets. asPrograms()Returns this set of remainder sets as a collection of programs where each program contains exactly the rules of one remainder set.Methods in org.tweetyproject.lp.asp.beliefdynamics.baserevision with parameters of type Program Modifier and Type Method Description intELPLexicographicalComparator. compare(Program arg0, Program arg1)ProgramScreenedMaxichoiceConsolidation. consolidate(Program p)Calculates the screened consolidation !r of program p using a maxi-choice selection function s, i.e.Constructors in org.tweetyproject.lp.asp.beliefdynamics.baserevision with parameters of type Program Constructor Description ScreenedMaxichoiceConsolidation(Program screen, SelectionFunction<ASPRule> selection, ASPSolver solver)Creates a new screened maxi-choice consolidation operator with the given screen, selection function and a link to an answer set solver.ScreenedRemainderSets(Program p, Program r, ASPSolver solver)Creates a new set of screened remainder sets of program p that all contain the screened rules r. -
Uses of Program in org.tweetyproject.lp.asp.beliefdynamics.revision
Methods in org.tweetyproject.lp.asp.beliefdynamics.revision that return Program Modifier and Type Method Description ProgramCredibilityRevision.AnswersetProcessing. process(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)The method takes the list of ordered programs and the answer set of the credibility logic program and calculates a revided programProgramCredibilityRevision.DefaultBehavior. process(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)ProgramCredibilityRevision. revise(java.util.List<java.util.Collection<ASPRule>> ol)ProgramPreferenceHandling. revise(java.util.Collection<ASPRule> base, java.util.Collection<ASPRule> formulas)ProgramCredibilityRevision. translate(java.util.List<Program> orderedList)Translates the given list of programs to the credibility logic program.Method parameters in org.tweetyproject.lp.asp.beliefdynamics.revision with type arguments of type Program Modifier and Type Method Description ProgramCredibilityRevision.AnswersetProcessing. process(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)The method takes the list of ordered programs and the answer set of the credibility logic program and calculates a revided programProgramCredibilityRevision.DefaultBehavior. process(java.util.List<Program> orderedPrograms, java.util.Collection<AnswerSet> answersets)ProgramCredibilityRevision. translate(java.util.List<Program> orderedList)Translates the given list of programs to the credibility logic program. -
Uses of Program in org.tweetyproject.lp.asp.parser
Methods in org.tweetyproject.lp.asp.parser that return Program Modifier and Type Method Description static ProgramASPCore2Parser. parseProgram(java.io.Reader reader)static ProgramASPCore2Parser. parseProgram(java.lang.String program)ProgramInstantiateVisitor. visit(ASTProgram node, java.lang.Object data) -
Uses of Program in org.tweetyproject.lp.asp.reasoner
Methods in org.tweetyproject.lp.asp.reasoner with parameters of type Program Modifier and Type Method Description AnswerSetASPSolver. getModel(Program p, int maxInt)Returns a characterizing model (answer set) of the given belief base using the given upper integer limit.AnswerSetClingoSolver. getModel(Program p)AnswerSetDLVSolver. getModel(Program p)AnswerSetDLVSolver. getModel(Program p, int maxInt)Returns a characterizing model (answer set) of the given belief base using the given upper integer limit.abstract java.util.Collection<AnswerSet>ASPSolver. getModels(Program p)java.util.Collection<AnswerSet>ASPSolver. getModels(Program p, int maxInt)Returns a characterizing model (answer set) of the given belief base using the given upper integer limit.java.util.List<AnswerSet>ClingoSolver. getModels(Program p)java.util.List<AnswerSet>DLVSolver. getModels(Program p)java.util.Collection<AnswerSet>DLVSolver. getModels(Program p, int maxInt)Returns a characterizing model (answer set) of the given belief base using the given upper integer limit.java.util.List<java.lang.Integer>ClingoSolver. getOptimum(Program p)Computes the optimum of a program that contains optimization statements, if there is one.abstract java.lang.BooleanASPSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanClingoSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanClingoSolver. query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode)java.lang.BooleanDLVSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanDLVSolver. query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode) -
Uses of Program in org.tweetyproject.lp.asp.semantics
Methods in org.tweetyproject.lp.asp.semantics with parameters of type Program Modifier and Type Method Description booleanAnswerSet. satisfies(Program beliefBase) -
Uses of Program in org.tweetyproject.lp.asp.syntax
Methods in org.tweetyproject.lp.asp.syntax that return Program Modifier and Type Method Description ProgramProgram. clone()ProgramProgram. exchange(Term<?> v, Term<?> t)static ProgramProgram. getDefaultification(Program p)Creates the defaultification p_d of a given program p.ProgramProgram. getReduct(java.util.Set<ASPLiteral> state)Returns the reduct of this program wrt.ProgramProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ProgramProgram. substitute(Term<?> v, Term<?> t)Methods in org.tweetyproject.lp.asp.syntax with parameters of type Program Modifier and Type Method Description voidProgram. add(Program other)Adds another program's content to the content of this program.static ProgramProgram. getDefaultification(Program p)Creates the defaultification p_d of a given program p.Constructors in org.tweetyproject.lp.asp.syntax with parameters of type Program Constructor Description Program(Program other)Copy-Constructor -
Uses of Program in org.tweetyproject.lp.asp.writer
Methods in org.tweetyproject.lp.asp.writer with parameters of type Program Modifier and Type Method Description voidClingoWriter. printProgram(Program p)Prints the given program in clingo format.
-