Interface SWA

  • All Superinterfaces:
    DP
    All Known Implementing Classes:
    SWAImpl

    public interface SWA
    extends DP
    • Method Detail

      • newSWACalculation

        static SWAImpl newSWACalculation​(DataObject[] queryRes,
                                         DataObject[] caseRes)
        initiate a new SWA Calculation on query and case tasks.
        Parameters:
        queryRes - The query.
        caseRes - The case.
        Returns:
        A new DTWImpl for calculation.
      • setInsertionPenaltyScheme

        void setInsertionPenaltyScheme​(SWA.PenaltyScheme penaltyScheme)
        Set the penalty scheme to be used when inserting into the query.
        Parameters:
        penaltyScheme - A functional interface of type PenaltyScheme. Represents a function mapping a NESTTaskNodeObject to a double.
      • setDeletionPenaltyScheme

        void setDeletionPenaltyScheme​(SWA.PenaltyScheme penaltyScheme)
        Set the penalty scheme to be used when deleting from the query.
        Parameters:
        penaltyScheme - A functional interface of type PenaltyScheme. Represents a function mapping a NESTTaskNodeObject to a double.