|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.properties.AbstractProperty
com.kuka.nav.fleet.graph.properties.WaitingZone
public class WaitingZone
The waiting zone defines a list of waiting nodes for a node. Vehicles which are commanded to this node must wait in this zone if the node is blocked.
| Constructor Summary | |
|---|---|
WaitingZone()
Constructor. |
|
WaitingZone(List<Integer> nodeIds,
double lengthOfStay)
Constructor. |
|
| Method Summary | |
|---|---|
Collection<Integer> |
getAllowedTypes()
Returns the allowed robot type ids for this property. |
Double |
getEstimatedLengthOfStay()
Gets the estimated length of time which a vehicle spends at the node defining the waiting zone. |
String |
getValueToDisplay()
Returns the value(s) in a way to show it in a UI. |
List<Integer> |
getWaitingNodeIdList()
Returns an ordered list of waiting node. |
String |
getWaitingNodes()
Returns a string representation of the waiting node id list, ordered in such a way that the first id is the waiting node closest to the goal. |
void |
setEstimatedLengthOfStay(Double lengthOfStay)
Sets the estimated length of time which a vehicle spends at the node defining the waiting zone. |
void |
setWaitingNodeIdList(List<Integer> nodeIds)
Set the waiting node ids as list. |
void |
setWaitingNodes(String waitingNodes)
Sets the waiting node ids. |
String |
toString()
|
| Methods inherited from class com.kuka.nav.fleet.graph.properties.AbstractProperty |
|---|
equals, fireChanged, getId, hashCode, setId, tryGetParamFromString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WaitingZone(List<Integer> nodeIds,
double lengthOfStay)
nodeIds - the node ids to be set. No id may occur more than once, each id must correspond to a node which exists
in the same graph as the node to which this property is added, and the node's own id must not occur in
the list. The last id in the list corresponds to the first waiting node which must be visited, the
second-last id corresponds to the second waiting node, etc. The first id in the list corresponds to
the last waiting node visited before a vehicle may move to the goal.lengthOfStay - the estimated time a vehicle spends at the node defining the waiting zonepublic WaitingZone()
| Method Detail |
|---|
public String getValueToDisplay()
Property
public String toString()
toString in class Objectpublic String getWaitingNodes()
public List<Integer> getWaitingNodeIdList()
public void setWaitingNodes(String waitingNodes)
waitingNodes - a comma separated list of node ids. No id may occur more than once, each id must correspond to a node
which exists in the same graph as the node to which this property is added, and the node's own id must
not occur in the list. The last id in the list corresponds to the first waiting node which must be
visited, the second-last id corresponds to the second waiting node, etc. The first id in the list
corresponds to the last waiting node visited before a vehicle may move to the goal.public void setWaitingNodeIdList(List<Integer> nodeIds)
nodeIds - list of waiting nodes in correct orderpublic Double getEstimatedLengthOfStay()
public void setEstimatedLengthOfStay(Double lengthOfStay)
lengthOfStay - the estimated length of time spent at the node to be set [in seconds]public Collection<Integer> getAllowedTypes()
PropertyPropertyHolder.ROBOTTYPEALL)
is considered as a separate robot type. If all possible types are allowed
the returned collection is empty.
getAllowedTypes in interface PropertygetAllowedTypes in class AbstractProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||