Absortion of nodes is always disabled

Issue #513 new
Francisco Javier Díez created an issue

The absortion of nodes and their parents (in the contextual menu for each node) is disabled for all types of nodes and all types of networks. It should be allowed in general.

Comments (4)

  1. Francisco Javier Díez reporter

    Hi, Manuel. "In general" means that there are exceptions:

    "Absorb this node" does not make sense for a node without children (sink) because it can be deleted directly.

    A node that has more than one child can be absorbed, but you have to do it more carefully. I don't think we have yet implemented a method that does this.

    Then we have to see the type of the variables and the potentials.

    In summary: for the moment we should activate this option when a node has only one child, all variables (node, parents and child) have finite states and all potentials are tables. Later we will implement it for other cases.

    "Absorb parents" only makes sense if the node has at least one parent. For the moment we are going to implement this option only for the case where the potential is a table and the parents have no other children.

    Is it clear? Thank you for your question. It was necessary to think about it.

  2. Log in to comment