diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-01T10·33+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-01T10·33+0000 |
commit | db322a47ffb17be3f75ea864e0732d8f948aaf19 (patch) | |
tree | 7c3a52cbabaa1c8939811dd47d47f59ea8ce84a2 /src/libutil/archive.hh | |
parent | 2c4302dd7a437c3153d6de704fb5ddec004ea308 (diff) |
* Use a weighted use heuristic to disambiguate between multiple
occurances of a component. If the shortest path distance between a component P and Q in the referers graph is D, then the contribution of Q to the use of P is 1 / R^D, where R >= 1, typically 2. This expresses that distant indirect uses are less important than nearby uses. For instance, this can disambiguate between the bootstrap GCC in Nixpkgs and the GCC of the final stdenv (the former has more uses, but they are further away), and between the GCC of the final stdenv and the GCC+G77 build (the latter has very few uses).
Diffstat (limited to 'src/libutil/archive.hh')
0 files changed, 0 insertions, 0 deletions