Engine Interface#
The engine can be queried in two ways:
buildLabelSets.build and prints (in the output and graph tabs) both the argument and statement labellings according to the provided theory. This predicate is also available in two others versions:
buildLabelSets(StatementIN, StatementOUT, StatementUND).returning the statements labelling divided in the three sets IN, OUT and UND;
buildLabelSets([StatementIN, StatementOUT, StatementUND], [ArgumentIN, ArgumentOUT, ArgumentUND]).returning both the statements and arguments labelling divided in the three sets IN, OUT and UND;
Alternatively, the framework can be queried with:
answerQuery(Goal, In, Out, Und).allowing to query the engine about a given Goal. The result are collected in the In, Out, Und lists respectively.
Flags#
The resolution process behaviour can be adjusted through the use of these flags. Some of them are required in order to successfully complete the evaluation process. Note that, in the standalone version of the library, there is no need to put them in the target theory, but it is possible to manage them through the Arg Flags tab.
graphBuildMode(MODE)[REQUIRED] to select the preferred way to build the argumentation graph starting from the statements.MODEcan only assume the valuestandard_af.statementLabellingMode(MODE)[REQUIRED] to select the preferred way to execute the statement labelling.MODEcan only assume the values:statementstatement_pass_throughstatement_binary
argumentLabellingMode(MODE)[REQUIRED] to select the preferred way to execute the argument labelling.MODEcan assume the values:conflictfree— use the conflict-free semanticsadmissible— use the admissible semanticsstronglyadmissible— use the strongly admissible semanticsgrounded— use the grounded semanticscomplete— use Dung’s complete semanticspreferred— use the preferred semanticssemistable— use the semi-stable semanticsstable— use the stable semanticsideal— use the ideal semanticseager— use the eager semanticsnaive— use the naïve semanticsstage— use the stage semanticscf2— use the CF2 semanticsstage2— use the stage2 semanticsbp_grounded— use the bp grounded semantics (Calegari and Sartor)bp_grounded_partial— use the bp partial semantics (Calegari and Sartor)bp_grounded_complete— use the bp complete semantics (Calegari and Sartor)
graphExtension(MODE)to select the preferred way to handle preferences. If absent, preference handling is disabled.MODEcan assume the values:standardPreffor ASPIC+ static preferences;defeasiblePreffor Dung’s model for defeasible preferences;defeasibleAllPreffor the enhanced Dung’s model enabling the use of all ASPIC+’s comparators;
orderingPrinciple(MODE)[REQUIRED] to select the preferred way to choose the relevant parts of an argument in order to compare them.MODEcan assume the values:lastweakest
orderingComparator(MODE)[REQUIRED] to select the comparison strategy to use in argument ranking.MODEcan assume the values:democratelitistnormal.
queryModeto enable the structured evaluation in theanswerQuery/4predicate;autoTranspositionto enable the automatic closure under transposition of the target theory;graphExtension(rebutRestriction)(Unrestricted Rebut in the IDE) to manage the rebut restriction constraint.graphExtension(bp)(Meta Bp in the IDE) to enable the meta evaluation for burden of persuasion. If enabled the bp preferences must be included directly inside rules (for exampler : [] => bp(something).orr : [] => -bp(something).). It can be used with any semantic. In the IDE the flag is called Meta Bp.