Package jasima.shopSim.core.batchForming
Class MostCompleteBatch
- java.lang.Object
-
- jasima.shopSim.core.batchForming.BatchForming
-
- jasima.shopSim.core.batchForming.MostCompleteBatch
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MostCompleteBatch extends BatchForming
This class implements the rule that the batch that uses most of the available capacity is selected. Ties are broken with the underlying sequencing rule that selects the family with the highest priority job.- Author:
- Christoph Pickardt, 2010-09-07, Torsten Hildebrandt, 2010-09-29
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jasima.shopSim.core.batchForming.BatchForming
orderedJobs, possibleBatches
-
-
Constructor Summary
Constructors Constructor Description MostCompleteBatch()MostCompleteBatch(double maxWaitRelative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformBatches()doublegetMaxWaitRelative()StringgetName()doublemaxProcTimeWaiting(PriorityQueue<?> q)voidsetMaxWaitRelative(double maxWaitRelative)-
Methods inherited from class jasima.shopSim.core.batchForming.BatchForming
clone, ensureCapacity, getOwner, indexOf, nextBatch, setOwner, splitFamilies, toString
-
-
-
-
Method Detail
-
maxProcTimeWaiting
public double maxProcTimeWaiting(PriorityQueue<?> q)
-
formBatches
public void formBatches()
- Specified by:
formBatchesin classBatchForming
-
getMaxWaitRelative
public double getMaxWaitRelative()
-
setMaxWaitRelative
public void setMaxWaitRelative(double maxWaitRelative)
-
getName
public String getName()
- Overrides:
getNamein classBatchForming
-
-