tryalgo icon indicating copy to clipboard operation
tryalgo copied to clipboard

Trivial C1P is not validated

Open MLopez-Ibanez opened this issue 5 years ago • 1 comments

array([[0, 1, 0, 0, 0],
       [0, 0, 1, 1, 0],
       [1, 1, 1, 0, 0],
       [1, 1, 1, 1, 1],
       [0, 1, 1, 1, 0],
       [1, 1, 1, 1, 1],
       [0, 1, 1, 1, 1],
       [0, 0, 0, 0, 1],
       [1, 1, 1, 1, 0],
       [0, 0, 1, 0, 0]])

with sets:

[{1},
 {2, 3},
 {0, 1, 2},
 {0, 1, 2, 3, 4},
 {1, 2, 3},
 {0, 1, 2, 3, 4},
 {1, 2, 3, 4},
 {4},
 {0, 1, 2, 3},
 {2}]

gives:

IsNotC1P: state == -1

MLopez-Ibanez avatar Feb 24 '20 19:02 MLopez-Ibanez

Thanks! Will investigate.

jilljenn avatar Apr 07 '20 19:04 jilljenn

This is now corrected with a new class called PC_tree.

xtof-durr avatar Mar 13 '24 12:03 xtof-durr