When using deterministic evaluation with MID an exception is thrown

Issue #360 closed
Carmen Yago created an issue

When trying to evaluate an MID with transitions "Half cycle" or "End of cycle" these exceptions are thrown:

java.lang.reflect.InvocationTargetException is caused by java.lang.ClassCastException: org.openmarkov.core.model.network.potential.ExactDistrPotential cannot be cast to org.openmarkov.core.model.network.potential.TablePotential

The analysis cannot be performed.Captura.PNG

Comments (2)

  1. Carmen Yago reporter

    Workaround added to avoid the exceptions due to previous conversions from TablePotential to ExactDistrPotential. This workaround will be updated when the new "table potentials" design is coded.

  2. Log in to comment