Open GoogleCodeExporter opened 9 years ago
Hi,
thank you for your detailed comments and email! I will soon integrate it!
Best regards,
Jörn
Original comment by jornfra...@gmail.com
on 17 Aug 2014 at 6:28
[deleted comment]
I also add your changes proposed by you (see also attachment by you):
-----------------------------------
1. In method addConstraint(), I commented out the line:
//this.addConstraintToConstraintNetwork(constraintAdd);
I moved this step into pathConsistency() because we have cached all new relations in the modeledConstriants.
2. Replaced your pathConsistency() method with my attached one in the previous
email.
---------------------------------
And another discussion point:
After adding a new dependency/or node you need to execute the path consistency
algorithm, so theoretically I could also add the following line to
addConstraint:
this.pathConsistency()
and you answered:
-----
[..] not forget:
Constraint<E> startConstraint =
this.modeledConstraints.get(modeledConstraints.size() - 1);
-----
Thank you again, it will soon be updated.
Original comment by jornfra...@gmail.com
on 17 Aug 2014 at 6:33
Attachments:
just one last thing: It seems to be that the output of the original version
(the boolean return parameter) is in both versions correct if the constraints
belong only to the ord-horn class of problems.
It is just the constraint network, which could be more reduced (cf. also
references on completeness).
An optimization to the aforementioned problem could be to split the constraint
network in several constraint networks containing only constraints belonging to
the Ord-Horn Class and run the path consistency algorithm on them. This will be
part of a future version.
Original comment by jornfra...@gmail.com
on 17 Aug 2014 at 6:39
Original comment by jornfra...@gmail.com
on 26 Aug 2014 at 9:17
Original issue reported on code.google.com by
luoyi....@gmail.com
on 15 Aug 2014 at 9:49Attachments: