Interface IGoalStructure<TBeliefSet>
- Namespace
- Aplib.Core.Desire.GoalStructures
- Assembly
- Aplib.Core.dll
Represents a goal structure.
public interface IGoalStructure<in TBeliefSet> : ICompletable where TBeliefSet : IBeliefSet
Type Parameters
TBeliefSet
The belief set of the agent.
- Inherited Members
- Extension Methods
Remarks
A goal structure is a structure of predicates that must be fulfilled in order to complete a test.
Methods
GetCurrentGoal(TBeliefSet)
Gets the current goal using the given IBeliefSet.
IGoal<in TBeliefSet> GetCurrentGoal(TBeliefSet beliefSet)
Parameters
beliefSet
TBeliefSetThe belief set of the agent.
Returns
- IGoal<TBeliefSet>
The current goal to be fulfilled.
Reset()
Resets the goal structure to its initial state.
void Reset()
UpdateStatus(TBeliefSet)
Updates the state of the goal structure.
void UpdateStatus(TBeliefSet beliefSet)
Parameters
beliefSet
TBeliefSetThe belief set of the agent.