Class CausalConflictFlaw

  • All Implemented Interfaces:
    java.io.Serializable

    public class CausalConflictFlaw
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CausalLink GetCausalLink()
      Gets the CausalLink referenced by the threat
      Effect GetEffect()
      Gets the effect that threatens the CausalLink
      java.lang.Integer GetStep()
      Gets the Step that threatens the CausalLink
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CausalConflictFlaw

        public CausalConflictFlaw​(CausalLink link,
                                  java.lang.Integer step,
                                  Effect eff)
        Creates a new CausalConflictFlaw
        Parameters:
        link - - the CausalLink referenced by the threat
        step - - the id of the Step that threatens the CausalLink
        eff - - 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:
        toString in class java.lang.Object