[jboss-jira] [JBoss JIRA] (DROOLS-5187) DMN DT Analysis include `null` for gaps/overlaps calculation

Matteo Mortari (Jira) issues at jboss.org
Mon Mar 30 06:25:12 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Mortari updated DROOLS-5187:
-----------------------------------
    Description: 
DMN DT Analysis include `null` for gaps/overlaps calculation where possible.

Implemented with considering a `null` value on a given a dimension:
* not "filling" gaps on the other dimensions
* not causing Overlaps on the other dimensions

For example, in a table such as:
 !screenshot-1.png|thumbnail! 
Rule2 is not overlapping with Rule1, as they don't overlap on dimension/In1 not for a range not for a singularity value.
Rule2 is not "filling" any gaps either, as for Rule2 is not spanning for dimension/In1 in the range {{[-Inf, 0]}}, it cannot be a candidate to fill any gaps where in dimension/In2 {{>=0}}
Therefore the overall analysis for this table still is:
{code}
Gaps:
[ -Inf .. 0 ) ( 0 .. +Inf ]
[ 0 .. 0 ] [ 0 .. +Inf ]
( 0 .. +Inf ] [ -Inf .. 0 )
{code}

  was:DMN DT Analysis include `null` for gaps/overlaps calculation where possible



> DMN DT Analysis include `null` for gaps/overlaps calculation
> ------------------------------------------------------------
>
>                 Key: DROOLS-5187
>                 URL: https://issues.redhat.com/browse/DROOLS-5187
>             Project: Drools
>          Issue Type: Enhancement
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>            Priority: Major
>         Attachments: screenshot-1.png
>
>
> DMN DT Analysis include `null` for gaps/overlaps calculation where possible.
> Implemented with considering a `null` value on a given a dimension:
> * not "filling" gaps on the other dimensions
> * not causing Overlaps on the other dimensions
> For example, in a table such as:
>  !screenshot-1.png|thumbnail! 
> Rule2 is not overlapping with Rule1, as they don't overlap on dimension/In1 not for a range not for a singularity value.
> Rule2 is not "filling" any gaps either, as for Rule2 is not spanning for dimension/In1 in the range {{[-Inf, 0]}}, it cannot be a candidate to fill any gaps where in dimension/In2 {{>=0}}
> Therefore the overall analysis for this table still is:
> {code}
> Gaps:
> [ -Inf .. 0 ) ( 0 .. +Inf ]
> [ 0 .. 0 ] [ 0 .. +Inf ]
> ( 0 .. +Inf ] [ -Inf .. 0 )
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list