Class TimedSupplyFlexLoad
java.lang.Object
com.dna.jopt.member.unit.pnd.load.AbstractLoad
com.dna.jopt.member.unit.pnd.load.flexload.MixedFlexLoad
com.dna.jopt.member.unit.pnd.load.flexload.TimedSupplyFlexLoad
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionTimedSupplyFlexLoad(String loadId) TimedSupplyFlexLoad(String loadId, int initialLoadValue) TimedSupplyFlexLoad(String loadId, int initialLoadValue, boolean initialIsRequest, boolean isFuzzyVisit) 
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Copies the load into a new Object.booleanChecks if is request.booleanisTimed()Checks if is timed.Merge two loads.typeName()Gets the type name.visited(ILoadCapacity cap, double acceptedLoadValue, long resourceArrivalTime) After aILoadCapacityvisited a load, the load gets the information, what load value was accepted by the capacity and when the capcity arrived at the load.Methods inherited from class com.dna.jopt.member.unit.pnd.load.flexload.MixedFlexLoadgetAdjustedLoadValue, isFlexible, toStringMethods inherited from class com.dna.jopt.member.unit.pnd.load.AbstractLoadgetId, getLoadValue, getPriority, getSearchIndex, isFuzzyVisit, setLoad, setSearchIndexMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.dna.jopt.member.unit.pnd.load.ILoadgetLoadValue, getPriority, isFuzzyVisit, setLoadMethods inherited from interface com.dna.jopt.member.unit.pnd.IPNDItemgetId, getSearchIndex, setSearchIndex
- 
Field Details- 
TYPE_NAME- See Also:
 
 
- 
- 
Constructor Details- 
TimedSupplyFlexLoadpublic TimedSupplyFlexLoad(String loadId, int initialLoadValue, boolean initialIsRequest, boolean isFuzzyVisit) 
- 
TimedSupplyFlexLoad
- 
TimedSupplyFlexLoad
 
- 
- 
Method Details- 
mergeDescription copied from interface:ILoadMerge two loads.- Specified by:
- mergein interface- ILoad
- Overrides:
- mergein class- MixedFlexLoad
- Parameters:
- itemTwo- the item two
- Returns:
- the optional
 
- 
visitedDescription copied from interface:ILoadAfter aILoadCapacityvisited a load, the load gets the information, what load value was accepted by the capacity and when the capcity arrived at the load.- Specified by:
- visitedin interface- ILoad
- Overrides:
- visitedin class- MixedFlexLoad
- Parameters:
- cap- the cap
- acceptedLoadValue- the accepted load value
- resourceArrivalTime- the resource arrival time
- Returns:
- the i load
 
- 
isRequestpublic boolean isRequest()Description copied from interface:ILoadChecks if is request. A request means the load wants to get goods from aILoadCapacity. If request is false, the load automatically supplies goods to a capacity.- Specified by:
- isRequestin interface- ILoad
- Overrides:
- isRequestin class- AbstractLoad
- Returns:
- true, if is request
 
- 
isTimedpublic boolean isTimed()Description copied from interface:ILoadChecks if is timed. The goods of a timed load desirably only stays a limited time within a ResourceDepot. If the time between pickup and delivery of timed load is longer that a predefined maximal value, the Optimizer will assign penalty cost.- Specified by:
- isTimedin interface- ILoad
- Overrides:
- isTimedin class- AbstractLoad
- Returns:
- true, if is timed
 
- 
typeNameDescription copied from interface:IPNDItemGets the type name.- Specified by:
- typeNamein interface- IPNDItem
- Overrides:
- typeNamein class- MixedFlexLoad
- Returns:
- the type name
 
- 
copyDescription copied from interface:ILoadCopies the load into a new Object.- Specified by:
- copyin interface- ILoad
- Overrides:
- copyin class- MixedFlexLoad
- Returns:
- the copied ILoad
 
 
-