|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJOpt.SDK.Implementation.TimeWindowGeoNode
| Constructor Summary | |
TimeWindowGeoNode()
|
|
TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
double[] load,
IOpeningHours[] openingHours,
int visitDuration,
IRelationship[] relationships,
int priority)
|
|
TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
java.util.GregorianCalendar timeWindowBegin,
java.util.GregorianCalendar timeWindowEnd,
double[] load,
IOpeningHours[] openingHours,
int visitDuration,
java.lang.String preferableResource,
IRelationship[] relationships,
int priority)
deprecated |
|
TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
IOpeningHours[] openingHours,
int visitDuration,
int priority)
|
|
| Method Summary | |
void |
addServicingHours(IServicingHours servicingHours)
|
void |
addViolation(IViolation violation)
|
long |
checkTimewindow(int jOptOptimizationRule)
|
ITimeWindowNode |
copy()
|
java.util.Vector |
get_servicingHours()
|
java.util.GregorianCalendar |
getArrivalTime()
|
java.util.GregorianCalendar |
getDepartureTime()
|
int |
getDistMatrixId()
|
double |
getLatitude()
|
double[] |
getLoad()
|
double |
getLongitude()
|
java.util.Map |
getMapOpeningHours()
|
int |
getMinimumInitialVisitDuration()
|
java.lang.String |
getNodeId()
|
IOpeningHours[] |
getOpeningHours()
|
IOpeningHours |
getOpeningHours(int i)
|
java.lang.String |
getPreferableResource()
|
int |
getPriority()
|
IRelationship[] |
getRelationships()
|
int |
getRemainingVisitDuration()
|
int |
getSequenceNumber()
|
IServicingHours[] |
getServicingHours()
|
double |
getTimeDrive()
|
java.util.GregorianCalendar |
getTimeWindowBegin()
deprecated |
java.util.GregorianCalendar |
getTimeWindowEnd()
deprecated |
java.lang.String |
getType()
|
IViolation[] |
getViolations()
|
int |
getVisitDuration()
|
void |
setArrivalTime(java.util.GregorianCalendar arrivalTime)
|
void |
setArrivalTimeSecs(long arrivalTime)
|
void |
setDepartureTime(java.util.GregorianCalendar departureTime)
|
void |
setDepartureTimeMillis(long departureTime)
|
void |
setDistMatrixId(int distanceMatrixId)
|
void |
setLatitude(double latitude)
|
void |
setLoad(double[] load)
|
void |
setLongitude(double longitude)
|
void |
setMapOpeningHours(java.util.TreeMap mapOpeningHours)
|
void |
setMinimumInitialVisitDuration(int minimumInitialVisitDuration)
|
void |
setNodeId(java.lang.String nodeId)
|
void |
setOpeningHours(IOpeningHours[] openingHours)
|
void |
setPreferableResource(java.lang.String preferableResource)
|
void |
setPriority(int priority)
|
void |
setRelationships(IRelationship[] relationships)
|
void |
setRemainingVisitDuration(int remainingVisitDuration)
|
void |
setSequenceNumber(int sequenceNumber)
|
void |
setServicingHours(java.util.Vector servicingHours)
|
void |
setTimeDrive(double timeDrive)
|
void |
setTimeWindowBegin(java.util.GregorianCalendar timeWindowBegin)
deprecated |
void |
setTimeWindowEnd(java.util.GregorianCalendar timeWindowEnd)
deprecated |
void |
setType(java.lang.String type)
|
void |
setVisitDuration(int visitDuration)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
java.util.GregorianCalendar timeWindowBegin,
java.util.GregorianCalendar timeWindowEnd,
double[] load,
IOpeningHours[] openingHours,
int visitDuration,
java.lang.String preferableResource,
IRelationship[] relationships,
int priority)
public TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
double[] load,
IOpeningHours[] openingHours,
int visitDuration,
IRelationship[] relationships,
int priority)
public TimeWindowGeoNode(java.lang.String nodeId,
double latitude,
double longitude,
IOpeningHours[] openingHours,
int visitDuration,
int priority)
public TimeWindowGeoNode()
| Method Detail |
public void setNodeId(java.lang.String nodeId)
setNodeId in interface INodenodeId - the node's unique idpublic java.lang.String getNodeId()
getNodeId in interface INodepublic void setLatitude(double latitude)
setLatitude in interface IGeoNodelatitude - set the geographical latitude for linear distance estimation
if not using a distance matrixpublic double getLatitude()
getLatitude in interface IGeoNodepublic void setLongitude(double longitude)
setLongitude in interface IGeoNodepublic double getLongitude()
getLongitude in interface IGeoNodepublic void setTimeWindowBegin(java.util.GregorianCalendar timeWindowBegin)
ITimeWindowNode
setTimeWindowBegin in interface ITimeWindowNodepublic java.util.GregorianCalendar getTimeWindowBegin()
ITimeWindowNode
getTimeWindowBegin in interface ITimeWindowNodepublic void setTimeWindowEnd(java.util.GregorianCalendar timeWindowEnd)
ITimeWindowNode
setTimeWindowEnd in interface ITimeWindowNodepublic java.util.GregorianCalendar getTimeWindowEnd()
ITimeWindowNode
getTimeWindowEnd in interface ITimeWindowNodepublic void setLoad(double[] load)
setLoad in interface INodeload - an arbitrary load vector for this node to be compared to the corresponding capacity vector of each resourcepublic double[] getLoad()
getLoad in interface INodepublic void setVisitDuration(int visitDuration)
setVisitDuration in interface ITimeWindowNodevisitDuration - define the estimated time in seconds a resource will stay at that nodepublic int getVisitDuration()
getVisitDuration in interface ITimeWindowNodepublic void setPreferableResource(java.lang.String preferableResource)
setPreferableResource in interface ITimeWindowNodepreferableResource - set a preferable resource to visit this nodepublic java.lang.String getPreferableResource()
getPreferableResource in interface ITimeWindowNodepublic void setRelationships(IRelationship[] relationships)
setRelationships in interface ITimeWindowNoderelationships - defines relationships between this node and other nodes
(e.g. a fixed sequence for pickup and delivery stops)IRelationshippublic IRelationship[] getRelationships()
getRelationships in interface ITimeWindowNodeIRelationshippublic void setSequenceNumber(int sequenceNumber)
setSequenceNumber in interface IScheduledNodesequenceNumber - the actual sequence number within route after the optimization has been performedpublic int getSequenceNumber()
getSequenceNumber in interface IScheduledNodepublic void setArrivalTime(java.util.GregorianCalendar arrivalTime)
setArrivalTime in interface IScheduledNodearrivalTime - the actual arrival time at that node after the optimization has been performedpublic void setArrivalTimeSecs(long arrivalTime)
public java.util.GregorianCalendar getArrivalTime()
getArrivalTime in interface IScheduledNodepublic void setDepartureTime(java.util.GregorianCalendar departureTime)
setDepartureTime in interface IScheduledNodedepartureTime - actual departure time at that node after the optimization has been performedpublic void setDepartureTimeMillis(long departureTime)
public java.util.GregorianCalendar getDepartureTime()
getDepartureTime in interface IScheduledNodepublic void addViolation(IViolation violation)
addViolation in interface IScheduledNodeviolation - the actual constraint violations for that node after the optimization has been performedIViolationpublic IViolation[] getViolations()
getViolations in interface IScheduledNodeIViolationpublic void addServicingHours(IServicingHours servicingHours)
public IServicingHours[] getServicingHours()
getServicingHours in interface IScheduledNodeIServicingHourspublic void setPriority(int priority)
setPriority in interface INodepriority - the node's priority. Priorities define whether it is mission critical to be in time at a specific node or notpublic int getPriority()
getPriority in interface INodepublic void setType(java.lang.String type)
setType in interface INodetype - the type of the node to be compared to the corresponding permitted types
for each resource. If this value is not set, any arbitrary resource can service this node. Node
types can also be used whenever specific skills are required to serve a node.public java.lang.String getType()
getType in interface INodepublic void setDistMatrixId(int distanceMatrixId)
setDistMatrixId in interface IDistanceMatrixEntryIOptimization#addDistanceMatrix()public int getDistMatrixId()
getDistMatrixId in interface IDistanceMatrixEntrypublic void setTimeDrive(double timeDrive)
setTimeDrive in interface IScheduledNodetimeDrive - the actual driving time required to reach that nodepublic double getTimeDrive()
getTimeDrive in interface IScheduledNodepublic void setOpeningHours(IOpeningHours[] openingHours)
setOpeningHours in interface ITimeWindowNodeopeningHours - defines the opening hours of that node. A node shall not be visited outside the opening hours.IOpeningHourspublic IOpeningHours[] getOpeningHours()
getOpeningHours in interface ITimeWindowNodeIOpeningHourspublic IOpeningHours getOpeningHours(int i)
getOpeningHours in interface ITimeWindowNodeIOpeningHourspublic ITimeWindowNode copy()
copy in interface ITimeWindowNodepublic long checkTimewindow(int jOptOptimizationRule)
public void setMapOpeningHours(java.util.TreeMap mapOpeningHours)
public java.util.Map getMapOpeningHours()
public void setRemainingVisitDuration(int remainingVisitDuration)
public int getRemainingVisitDuration()
public void setMinimumInitialVisitDuration(int minimumInitialVisitDuration)
public int getMinimumInitialVisitDuration()
public void setServicingHours(java.util.Vector servicingHours)
public java.util.Vector get_servicingHours()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||