From 79b53d4d76bbbb4235eaf709a6f07247f47316de Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 26 Jul 2011 16:56:55 +0300 Subject: solver: new package selection logic (which is not yet used) * basic code for a backtracking, forward checking dependency satisfier * works better when there are tricky dependencies to solve (when can't just upgrade everything to most preferred versions) * the new code always evaluates all of 'world' constraints (old code just does incremental updates based on heuristics) * is probably somewhat slower than old code (probably unnoticeable difference in most cases) * makes easier to write support for provides and repository pinning * test applet and a bunch of test cases added which uses the new code * from the old feature set install_if is not yet implemented --- test/complicated1.repo | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 test/complicated1.repo (limited to 'test/complicated1.repo') diff --git a/test/complicated1.repo b/test/complicated1.repo new file mode 100644 index 0000000..d4cf2ab --- /dev/null +++ b/test/complicated1.repo @@ -0,0 +1,46 @@ +C:Q1EyN5AdpAOBJWKMR89pp/C66o+OE= +P:a +V:2 +S:1 +I:1 +D:b c + +C:Q1eVpkasfqZAukAXFYbgwt4xAMZWU= +P:a +V:3 +S:1 +I:1 +D:b c d>1.5 + +C:Q1C4uoV7SdMdDhYg4OCVmI71D8HIA= +P:b +V:1 +S:1 +I:1 +D:c d<2.0 + +C:Q1hdUpqRv5mYgJEqW52UmVsvmyysE= +P:c +V:1 +S:1 +I:1 +D:d>1.0 + +C:Q16m4HrGizBiH4lG6Mxd5EL239L2U= +P:d +V:1.0 +S:1 +I:1 + +C:Q1/hQ3eH2AguTwJVGOz+keypXhXKY= +P:d +V:1.5 +S:1 +I:1 + +C:Q19uA/Cwc6UfrQs95TWVDETyAeEYM= +P:d +V:2.0 +S:1 +I:1 + -- cgit v1.2.3-60-g2f50