|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ITimeWindowGeoNode provides an interface to define a node that has one or more opening hours. Visits to this node are accepted only within predefined opening hours.
| Method Summary | |
ITimeWindowNode |
copy()
|
IOpeningHours[] |
getOpeningHours()
|
IOpeningHours |
getOpeningHours(int i)
|
java.lang.String |
getPreferableResource()
|
IRelationship[] |
getRelationships()
|
java.util.GregorianCalendar |
getTimeWindowBegin()
deprecated |
java.util.GregorianCalendar |
getTimeWindowEnd()
deprecated |
int |
getVisitDuration()
|
void |
setOpeningHours(IOpeningHours[] openingHours)
|
void |
setPreferableResource(java.lang.String resourceId)
|
void |
setRelationships(IRelationship[] relationships)
|
void |
setTimeWindowBegin(java.util.GregorianCalendar begin)
deprecated |
void |
setTimeWindowEnd(java.util.GregorianCalendar end)
deprecated |
void |
setVisitDuration(int durationInSeconds)
|
| Methods inherited from interface JOpt.SDK.IGeoNode |
getLatitude, getLongitude, setLatitude, setLongitude |
| Methods inherited from interface JOpt.SDK.INode |
getLoad, getNodeId, getPriority, getType, setLoad, setNodeId, setPriority, setType |
| Methods inherited from interface JOpt.SDK.IDistanceMatrixEntry |
getDistMatrixId, setDistMatrixId |
| Method Detail |
public void setOpeningHours(IOpeningHours[] openingHours)
openingHours - defines the opening hours of that node. A node shall not be visited outside the opening hours.IOpeningHourspublic IOpeningHours[] getOpeningHours()
IOpeningHourspublic IOpeningHours getOpeningHours(int i)
IOpeningHourspublic void setRelationships(IRelationship[] relationships)
relationships - defines relationships between this node and other nodes
(e.g. a fixed sequence for pickup and delivery stops)IRelationshippublic IRelationship[] getRelationships()
IRelationshippublic void setPreferableResource(java.lang.String resourceId)
resourceId - set a preferable resource to visit this nodepublic java.lang.String getPreferableResource()
public void setVisitDuration(int durationInSeconds)
durationInSeconds - define the estimated time in seconds a resource will stay at that nodepublic int getVisitDuration()
public ITimeWindowNode copy()
public void setTimeWindowBegin(java.util.GregorianCalendar begin)
public java.util.GregorianCalendar getTimeWindowBegin()
public void setTimeWindowEnd(java.util.GregorianCalendar end)
public java.util.GregorianCalendar getTimeWindowEnd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||