Class GoalThreat

java.lang.Object
FAtiMA.Core.plans.GoalThreat
All Implemented Interfaces:
Serializable

public class GoalThreat extends Object implements Serializable
Represents an InterestGoal Threat
Author:
Joao Dias
See Also:
  • Constructor Details

    • GoalThreat

      public GoalThreat(ProtectedCondition precond, IPlanningOperator op, Effect eff)
      Creates a new GoalThreat
      Parameters:
      precond - - the Goal's condition that we want to protect and that is being threatened
      op - - the operator that threatens the protected condition
      eff - - the effect that threatens the protected condition
  • Method Details

    • getCond

      public ProtectedCondition getCond()
      Gets the Goal's protected condition being threatened
      Returns:
      the Goal's ProtectedCondition
    • getEffect

      public Effect getEffect()
      Gets the Effect that threatens the protected condition
      Returns:
      the threatening effect
    • getOperator

      public IPlanningOperator getOperator()
      Gets the operator that threatens the protected condition
      Returns:
      the threatening PlanningOperator