public abstract class SasAgent extends Agent
Modifier and Type | Field and Description |
---|---|
private StructuredArgumentationFramework |
commonView
The current state of the argumentation as perceived by all agents.
|
private boolean |
isSingleStep
Indicates whether this agent is a single-step argumentation agent,
i.e.
|
private UtilityFunction |
utility
The utility function of this agent.
|
private StructuredArgumentationFramework |
view
The current view of this agent on the overall
argumentation, i.e.
|
Constructor and Description |
---|
SasAgent(StructuredArgumentationFramework view,
UtilityFunction utility)
Creates a new (non-single-step) SasAgent with the given (local) view and utility function.
|
SasAgent(StructuredArgumentationFramework view,
UtilityFunction utility,
boolean isSingleStep)
Creates a new SasAgent with the given (local) view and utility function.
|
Modifier and Type | Method and Description |
---|---|
protected StructuredArgumentationFramework |
getCommonView()
Returns the common view of this agent.
|
protected java.util.Set<Argument> |
getPossibleArguments()
Returns the set of arguments this agent may bring forward.
|
protected UtilityFunction |
getUtilityFunction()
Returns the utility function of this agent.
|
protected StructuredArgumentationFramework |
getView()
Returns the view of this agent.
|
boolean |
isSingleStep()
Checks whether this agent is a single-step argumentation agent,
i.e.
|
Executable |
next(java.util.Collection<? extends Perceivable> percepts)
Determines the next action of this agent wrt.
|
int |
rank(java.util.Collection<? extends Proposition> propositions)
Ranks the given collection of propositions wrt.
|
private boolean isSingleStep
private StructuredArgumentationFramework view
private StructuredArgumentationFramework commonView
private UtilityFunction utility
public SasAgent(StructuredArgumentationFramework view, UtilityFunction utility)
view
- the view of the agent on the argumentation.utility
- a utility function.public SasAgent(StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep)
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.public Executable next(java.util.Collection<? extends Perceivable> percepts)
Agent
protected StructuredArgumentationFramework getView()
protected StructuredArgumentationFramework getCommonView()
protected UtilityFunction getUtilityFunction()
public boolean isSingleStep()
protected java.util.Set<Argument> getPossibleArguments()
public int rank(java.util.Collection<? extends Proposition> propositions)
propositions
- a collection of propositions.