Package FAtiMA.Core.plans
Class CausalConflictFlaw
java.lang.Object
FAtiMA.Core.plans.CausalConflictFlaw
- All Implemented Interfaces:
Serializable
Represents 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:
-
Constructor Summary
ConstructorsConstructorDescriptionCausalConflictFlaw(CausalLink link, Integer step, Effect eff) Creates a new CausalConflictFlaw -
Method Summary
-
Constructor Details
-
CausalConflictFlaw
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 Details
-
GetCausalLink
Gets the CausalLink referenced by the threat- Returns:
- the threatened CausalLink
-
GetEffect
Gets the effect that threatens the CausalLink- Returns:
- the Effect that threatens the CausalLink
-
GetStep
Gets the Step that threatens the CausalLink- Returns:
- the ID in the Plan of the step that threatens the CausalLink
-
toString
-