| 1 |
combining criteria: |
| 2 |
-lexicographic[<lccriteria>{,<lccriteria>}*] |
| 3 |
with <lccriteria> ::= {+,-}leximax[<ccriteria>{,<ccriteria>}*] | |
| 4 |
{+,-}leximin[<ccriteria>{,<ccriteria>}*] | |
| 5 |
<ccriteria> |
| 6 |
with <ccriteria> ::= {+,-}agregate[<ccriteria>{,<ccriteria>}*]{[lambda]}? | |
| 7 |
{+,-}lexagregate[<ccriteria>{,<cccriteria>}*]{[lambda]}? | |
| 8 |
<criteria> |
| 9 |
with <criteria> ::= {+,-}removed{[lambda]}? | # number of removed packages |
| 10 |
{+,-}changed{[lambda]}? | # number of package with a modified version |
| 11 |
{+,-}notuptodate{[lambda]}? | # number of no uptodate packages |
| 12 |
{+,-}new{[lambda]}? | # number of newly installed packages |
| 13 |
{+,-}nunsat[<property:>,<withproviders>]{[lambda]}? | # number of unsatisfied dijunct in property (must be a vpkgformula) |
| 14 |
where <property:> is a property name of type vpkgformula |
| 15 |
and <withproviders> is a boolean (true or false) telling whether providers have to be taken into account |
| 16 |
{+,-}count[<property:>,<onlynew>]{[lambda]}? # count the property quantity (must be an int, posint or nat) |
| 17 |
where <property:> is a property name of type int, nat or posint |
| 18 |
and <onlynew> is a boolean (true or false) telling whether count applies only on newly installed packages |
| 19 |
eg.: -lexicographic[-removed,-notuptodate,-nunsat[recommends:,true],-new] |
| 20 |
eg.: -lexicographic[-lexagregate[-removed,-notuptodate],-lexagregate[-nunsat[recommends:,true],-new]] |
| 21 |
WARNING: spaces can not be used within a criteria combination. |
| 22 |
criteria combination shortcuts: |
| 23 |
-lex[<lccriteria>{,<lccriteria>}*] equivalent to -lexicographic[<lccriteria>{,<lccriteria>}*] |
| 24 |
-lexagregate[<ccriteria>{,<ccriteria>}*] equivalent to -lex[-lexagregate[<ccriteria>{,<ccriteria>}*]] |
| 25 |
-lexsemiagregate[<ccriteria>{,<ccriteria>}*] equivalent to |
| 26 |
-lex[-lexagregate[<ccriteria>,<ccriteria>],-lexagregate[<ccriteria>,<ccriteria>],...] |
| 27 |
-agregate[<ccriteria>{,<ccriteria>}*] equivalent to -lex[-agregate[<ccriteria>{,<ccriteria>}*]] |
| 28 |
-leximax[<ccriteria>{,<ccriteria>}*] equivalent to -lex[-leximax[<ccriteria>{,<ccriteria>}*]] |
| 29 |
-leximin[<ccriteria>{,<ccriteria>}*] equivalent to -lex[-lexmin[<ccriteria>{,<ccriteria>}*]] |
| 30 |
-lexleximax[<ccriteria>{,<ccriteria>}*] equivalent to -lex[<ccriteria>,-leximax[<ccriteria>{,<ccriteria>}*]] |
| 31 |
-lexleximin[<ccriteria>{,<ccriteria>}*] equivalent to -lex[<ccriteria>,-leximin[<ccriteria>{,<ccriteria>}*]] |
| 32 |
eg.: -agregate[-removed[100],-notuptodate[50],-nunsat[recommends:,true][10],-new] |