Problems when saving a potential for a continuous variable

Create issue
Issue #383 new
Francisco J. Diez created an issue

I open the attached DAN and assign an exact potential to the utility node. OpenMarkov saves this potential (in format ProbModelXML 0.5) as follows:

  <Potential type="Table">
    <Variables>
      <Variable name="D" />
    </Variables>
    <Values>0.0 0.0</Values>
  </Potential>

It should be

  <Potential type ="UnivariateDistr" distribution ="Exact" >
    <Variables>
      <Variable name="U" />
      <Variable name="D" />
    </Variables>
    <Values>0.0 0.0</Values>
  </Potential>

Comments (3)

  1. Manuel Luque

    Thanks for reporting this issue. On July 11th, Manuel and I have an Skype meeting, so we are going to collaboratively work in this issue also related to the edition of tables.

  2. Francisco J. Diez reporter

    I have assigned this issue to Carmen Yago because she has volunteered to solve it. She needs to have it fixed as soon as possible in order to continue working on her PhD thesis.

  3. Log in to comment