|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectaim4.im.v2i.batch.RoadBasedReordering
public class RoadBasedReordering
The road-based reorder strategy.
| Field Summary | |
|---|---|
static double |
DEFAULT_PROCESSING_INTERVAL
The time period between the processing times. |
| Constructor Summary | |
|---|---|
RoadBasedReordering(double processingInterval)
Create a road based reordering strategy |
|
| Method Summary | |
|---|---|
List<BatchModeRequestHandler.IndexedProposal> |
getBatch(double currentTime,
NavigableSet<BatchModeRequestHandler.IndexedProposal> queue,
TrackModel trackModel)
Select a subset of indexed proposals from the queue and sort them in a particular order such that they will be processed in that order. |
double |
getNextProcessingTime()
Get the next processing time for the next batch. |
double |
getNextProposalDeadline()
Get the next proposal deadline for the next batch. |
void |
setInitialTime(double initTime)
Set the initial time of the batch mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double DEFAULT_PROCESSING_INTERVAL
| Constructor Detail |
|---|
public RoadBasedReordering(double processingInterval)
processingInterval - the processing interval| Method Detail |
|---|
public void setInitialTime(double initTime)
setInitialTime in interface ReorderingStrategyinitTime - the initial time of the batch mode.
public List<BatchModeRequestHandler.IndexedProposal> getBatch(double currentTime,
NavigableSet<BatchModeRequestHandler.IndexedProposal> queue,
TrackModel trackModel)
getBatch in interface ReorderingStrategycurrentTime - the current timequeue - the current queue of all indexed proposalstrackModel - the track model
public double getNextProcessingTime()
getNextProcessingTime in interface ReorderingStrategypublic double getNextProposalDeadline()
getNextProposalDeadline in interface ReorderingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||