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
-
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 setsboolean
terminationFunction
(DungTheory reducedFramework, Extension<DungTheory> constructedExtension) terminate if there is no unattacked or unchallenged initial set remainingMethods inherited from class org.tweetyproject.arg.dung.reasoner.serialisable.SerialisableExtensionReasoner
getModel, getModels, getModelsGraph, getModelsSequences, getSemantics, getSerialisableReasonerForSemantics
Methods inherited from class org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
getSimpleReasonerForSemantics, isInstalled, query, query
-
Constructor Details
-
SerialisedUnchallengedReasoner
public SerialisedUnchallengedReasoner()*description missing*
-
-
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:
selectionFunction
in 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
public boolean terminationFunction(DungTheory reducedFramework, Extension<DungTheory> constructedExtension) terminate if there is no unattacked or unchallenged initial set remaining- Specified by:
terminationFunction
in classSerialisableExtensionReasoner
- Parameters:
reducedFramework
- The current framework of the transition systemconstructedExtension
- The extension constructed so far.- Returns:
- true, if there are no more unattacked or unchallenged inital sets
-