tryalgo
tryalgo copied to clipboard
Trivial C1P is not validated
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
Thanks! Will investigate.
This is now corrected with a new class called PC_tree.