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
-
-
Constructor Summary
Constructors Constructor Description OvercautiousArgumentationAgent(net.sf.tweety.arg.saf.syntax.StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, net.sf.tweety.logics.pl.syntax.Proposition focalElement)Creates a new agent with the given (local) view and utility function.OvercautiousArgumentationAgent(net.sf.tweety.arg.saf.syntax.StructuredArgumentationFramework view, UtilityFunction utility, net.sf.tweety.logics.pl.syntax.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 Set<net.sf.tweety.arg.dung.syntax.Argument>attackSet()Computes the attack set of this agent's focal element wrt.net.sf.tweety.agents.Executablenext(Collection<? extends net.sf.tweety.agents.Perceivable> percepts)-
Methods inherited from class net.sf.tweety.agents.dialogues.structured.SasAgent
getCommonView, getPossibleArguments, getUtilityFunction, getView, isSingleStep, rank
-
-
-
-
Constructor Detail
-
OvercautiousArgumentationAgent
public OvercautiousArgumentationAgent(net.sf.tweety.arg.saf.syntax.StructuredArgumentationFramework view, UtilityFunction utility, net.sf.tweety.logics.pl.syntax.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(net.sf.tweety.arg.saf.syntax.StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, net.sf.tweety.logics.pl.syntax.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 net.sf.tweety.agents.Executable next(Collection<? extends net.sf.tweety.agents.Perceivable> percepts)
-
attackSet
protected Set<net.sf.tweety.arg.dung.syntax.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.
-
-