Class OvercautiousArgumentationAgent
- java.lang.Object
-
- net.sf.tweety.agents.Agent
-
- net.sf.tweety.agents.dialogues.structured.SasAgent
-
- net.sf.tweety.agents.dialogues.structured.OvercautiousArgumentationAgent
-
- Direct Known Subclasses:
CautiousArgumentationAgent
public class OvercautiousArgumentationAgent extends SasAgent
This class models an overcautious argumentation agent, i.e. an agent that only brings forward arguments that cannot be harmful to this agent's goal of proving some given proposition.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description private Proposition
focalElement
The focal element of this agent.
-
Constructor Summary
Constructors Constructor Description OvercautiousArgumentationAgent(StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, Proposition focalElement)
Creates a new agent with the given (local) view and utility function.OvercautiousArgumentationAgent(StructuredArgumentationFramework view, UtilityFunction utility, Proposition focalElement)
Creates a new (non-single-step) agent with the given (local) view and utility function.
-
Method Summary
Modifier and Type Method Description protected java.util.Set<Argument>
attackSet()
Computes the attack set of this agent's focal element wrt.Executable
next(java.util.Collection<? extends Perceivable> percepts)
Determines the next action of this agent wrt.-
Methods inherited from class net.sf.tweety.agents.dialogues.structured.SasAgent
getCommonView, getPossibleArguments, getUtilityFunction, getView, isSingleStep, rank
-
-
-
-
Field Detail
-
focalElement
private Proposition focalElement
The focal element of this agent.
-
-
Constructor Detail
-
OvercautiousArgumentationAgent
public OvercautiousArgumentationAgent(StructuredArgumentationFramework view, UtilityFunction utility, Proposition focalElement)
Creates a new (non-single-step) agent with the given (local) view and utility function.- Parameters:
view
- the view of the agent on the argumentation.utility
- a utility function.focalElement
- the focal element of this agent.
-
OvercautiousArgumentationAgent
public OvercautiousArgumentationAgent(StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, Proposition focalElement)
Creates a new agent with the given (local) view and utility function.- Parameters:
view
- the view of the agent on the argumentation.utility
- a utility function.isSingleStep
- indicates whether this agent is a single-step argumentation agent, i.e. whether he may bring forward only one argument at a time or multiple.focalElement
- the focal element of this agent.
-
-
Method Detail
-
next
public Executable next(java.util.Collection<? extends Perceivable> percepts)
Description copied from class:Agent
Determines the next action of this agent wrt. the given percepts.
-
attackSet
protected java.util.Set<Argument> attackSet()
Computes the attack set of this agent's focal element wrt. its view, i.e. the set of basic arguments "arg" such that there are argumentation structures "AS1" and "AS2" with "arg" in "AS1", "AS1" indirectly attacks "AS2" and the claim of "AS2" is the agent's focal element.- Returns:
- the attack set of this agent's focal element wrt. its view.
-
-