Package FAtiMA.Core.plans
Class CausalConflictFlaw
- java.lang.Object
-
- FAtiMA.Core.plans.CausalConflictFlaw
-
- All Implemented Interfaces:
java.io.Serializable
public class CausalConflictFlaw extends java.lang.Object implements java.io.SerializableRepresents a threat to a causal conflict A --p--> B. It means that exists a Step S, that can occur between A and B in the plan and that has ~p as effect- Author:
- Joao Dias
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CausalConflictFlaw(CausalLink link, java.lang.Integer step, Effect eff)Creates a new CausalConflictFlaw
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CausalLinkGetCausalLink()Gets the CausalLink referenced by the threatEffectGetEffect()Gets the effect that threatens the CausalLinkjava.lang.IntegerGetStep()Gets the Step that threatens the CausalLinkjava.lang.StringtoString()
-
-
-
Constructor Detail
-
CausalConflictFlaw
public CausalConflictFlaw(CausalLink link, java.lang.Integer step, Effect eff)
Creates a new CausalConflictFlaw- Parameters:
link- - the CausalLink referenced by the threatstep- - the id of the Step that threatens the CausalLinkeff- - the effect of the Step that threatens the CausalLink
-
-
Method Detail
-
GetCausalLink
public CausalLink GetCausalLink()
Gets the CausalLink referenced by the threat- Returns:
- the threatened CausalLink
-
GetEffect
public Effect GetEffect()
Gets the effect that threatens the CausalLink- Returns:
- the Effect that threatens the CausalLink
-
GetStep
public java.lang.Integer GetStep()
Gets the Step that threatens the CausalLink- Returns:
- the ID in the Plan of the step that threatens the CausalLink
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-