Class CostModelAbstract

    • Field Detail

      • parameters

        protected double[] parameters
      • formatE

        public static final java.text.DecimalFormat formatE
      • format

        public static final java.text.DecimalFormat format
    • Constructor Detail

      • CostModelAbstract

        public CostModelAbstract​(IvMModel model)
    • Method Detail

      • getInputs

        public abstract double[] getInputs​(IvMMove startTrace,
                                           org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,​java.lang.String,​IvMMove,​IvMMove,​IvMMove,​IvMMove> instance,
                                           IvMMove endTrace)
        No side effects allowed. Will only be called for non-silent activities.
        Parameters:
        node -
        initiate -
        enqueue -
        start -
        complete -
        Returns:
      • getNumberOfParameters

        public abstract int getNumberOfParameters()
      • getInputsAndCost

        public org.processmining.plugins.InductiveMiner.Pair<double[],​java.lang.Double> getInputsAndCost​(IvMTrace trace,
                                                                                                               IvMCanceller canceller)
      • getParameters

        public double[] getParameters()
      • setParameters

        public void setParameters​(double[] parameters)
      • getModelRepresentation

        public java.util.List<DataRow<java.lang.Object>> getModelRepresentation()
        Description copied from interface: CostModel
        The representation of this model (for the data analysis cost tab)
        Specified by:
        getModelRepresentation in interface CostModel
        Returns:
      • getModelProperties

        public java.util.List<DataRow<java.lang.Object>> getModelProperties()
      • setModelProperties

        public void setModelProperties​(java.util.List<DataRow<java.lang.Object>> modelProperties)
      • format

        public static final java.lang.String format​(double value)