phing-types-selectors
[ class tree: phing-types-selectors ] [ index: phing-types-selectors ] [ all elements ]

Procedural File: MajoritySelector.php

Source Location: /types/selectors/MajoritySelector.php



Classes:

MajoritySelector
This selector is here just to shake up your thinking a bit. Don't get


Page Details:

This selector is here just to shake up your thinking a bit. Don't get

too caught up in boolean, there are other ways you can evaluate a collection of selectors. This one takes a vote of the selectors it contains, and majority wins. You could also have an "all-but-one" selector, a "weighted-average" selector, and so on. These are left as exercises for the reader (as are the usecases where this would be necessary).




Tags:

author:  Bruce Atherton <bruce@callenish.com> (Ant)
author:  Hans Lellelid <hans@xmpl.org> (Phing)
version:  $Revision: 526 $








Documentation generated on Mon, 19 Oct 2009 10:51:14 +0200 by phpDocumentor 1.4.3