| java.lang.Object org.cougaar.logistics.plugin.packer.ProportionalDistributor
ProportionalDistributor | public class ProportionalDistributor implements AllocationResultDistributor,Serializable(Code) | | This class is similar to the DefaultDistributor, but allocates quantities
proportionally, based on input task quantities, rather than just
evenly. Code cribbed extensively from the definition of DefaultDistributor
See Also: org.cougaar.planning.ldm.plan.AllocationResultDistributor.DefaultDistributor |
ProportionalDistributor | public ProportionalDistributor()(Code) | | |
getTaskAspectValue | protected static double getTaskAspectValue(Task task, int at)(Code) | | value of the preference on the aspect of the task, or-1.0 if not defined. Parameters: at - The aspect type. |
getTaskQuantity | public double getTaskQuantity(Task task)(Code) | | |
|
|