Class CostModelComputerAbstract
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.cost.CostModelComputerAbstract
-
- All Implemented Interfaces:
CostModelComputer
- Direct Known Subclasses:
CostModelComputerImplLP,CostModelComputerImplOLS
public abstract class CostModelComputerAbstract extends java.lang.Object implements CostModelComputer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringmessage
-
Constructor Summary
Constructors Constructor Description CostModelComputerAbstract()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcompute(java.util.List<org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double>> data, CostModelAbstract result, IvMCanceller canceller)voidcompute(IvMModel model, IvMLogFiltered log, IvMLogInfo logInfoFiltered, CostModelAbstract result, IvMCanceller canceller)java.lang.StringgetErrorMessage()protected java.util.List<org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double>>getInputsAndCost(IvMLogFiltered log, CostModelAbstract result, IvMCanceller canceller)protected java.math.BigDecimalinnerProduct(double[] parameters, double[] observation)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.plugins.inductiveVisualMiner.cost.CostModelComputer
getName
-
-
-
-
Method Detail
-
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessagein interfaceCostModelComputer- Returns:
- null if the computation was successful. Otherwise an error message.
-
compute
public void compute(IvMModel model, IvMLogFiltered log, IvMLogInfo logInfoFiltered, CostModelAbstract result, IvMCanceller canceller) throws java.lang.Exception
- Specified by:
computein interfaceCostModelComputer- Throws:
java.lang.Exception
-
innerProduct
protected java.math.BigDecimal innerProduct(double[] parameters, double[] observation)
-
compute
public abstract void compute(java.util.List<org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double>> data, CostModelAbstract result, IvMCanceller canceller) throws java.lang.Exception- Throws:
java.lang.Exception
-
getInputsAndCost
protected java.util.List<org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double>> getInputsAndCost(IvMLogFiltered log, CostModelAbstract result, IvMCanceller canceller)
-
-