Class SerialisedUnchallengedReasoner
java.lang.Object
org.tweetyproject.arg.dung.reasoner.AbstractDungReasoner
org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
org.tweetyproject.arg.dung.reasoner.serialisable.SerialisableExtensionReasoner
org.tweetyproject.arg.dung.reasoner.serialisable.SerialisedUnchallengedReasoner
- All Implemented Interfaces:
ModelProvider<Argument,,DungTheory, Extension<DungTheory>> PostulateEvaluatable<Argument>,QualitativeReasoner<DungTheory,,Argument> Reasoner<Boolean,DungTheory, Argument>
Serialised reasoner for the unchallenged semantics
The unchallenged semantics amounts to exhaustively adding unattacked and unchallenged initial sets
- Author:
- Lars Bengel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselectionFunction(Collection<Extension<DungTheory>> unattacked, Collection<Extension<DungTheory>> unchallenged, Collection<Extension<DungTheory>> challenged) a selection function that simply returns all unattacked and unchallenged setsbooleanterminate if there is no unattacked or unchallenged initial set remainingMethods inherited from class org.tweetyproject.arg.dung.reasoner.serialisable.SerialisableExtensionReasoner
getModel, getModels, getSerialisableReasonerForSemanticsMethods inherited from class org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
getSimpleReasonerForSemantics, isInstalled, query, query
-
Constructor Details
-
SerialisedUnchallengedReasoner
public SerialisedUnchallengedReasoner()
-
-
Method Details
-
selectionFunction
public Collection<Extension<DungTheory>> selectionFunction(Collection<Extension<DungTheory>> unattacked, Collection<Extension<DungTheory>> unchallenged, Collection<Extension<DungTheory>> challenged) a selection function that simply returns all unattacked and unchallenged sets- Specified by:
selectionFunctionin classSerialisableExtensionReasoner- Parameters:
unattacked- the set of unattacked initial setsunchallenged- the set of unchallenged initial setschallenged- the set of challenged initial sets- Returns:
- the union of unattacked and unchallenged sets
-
terminationFunction
terminate if there is no unattacked or unchallenged initial set remaining- Specified by:
terminationFunctionin classSerialisableExtensionReasoner- Parameters:
state- the state of the transition system- Returns:
- true, if there are no more unattacked or unchallenged inital sets
-