Package com.anylogic.engine.markup
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.PolygonalNode
- Methods inherited from class com.anylogic.engine.markup.AreaNode
- Methods inherited from class com.anylogic.engine.markup.Node
- Methods inherited from class com.anylogic.engine.markup.NetworkMarkupElement
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.markup.AnimationStaticLocationProvider
- Methods inherited from interface com.anylogic.engine.markup.HasLevel
- Methods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Methods inherited from interface com.anylogic.engine.markup.INode
- Methods inherited from interface java.lang.Iterable
- Methods inherited from interface com.anylogic.engine.markup.LevelElement
- Methods inherited from interface com.anylogic.engine.markup.QueueUnit
- Constructor Detail
- Method Detail
- java.lang.Object
- All Implemented Interfaces:
AggregatableAnimationElement
,AnimationStaticLocationProvider
,IAreaNodeDescriptor<T>
,IDescriptor
,HasLevel
,IMarkupLibraryDescriptor
,INetworkMarkupElement
,INode<Node,Path>
,LevelElement
,LevelMarkup
,com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
,com.anylogic.engine.markup.material_handling.INodeDescriptor<Agent>
,QueueUnit
,SVGElement
,java.io.Serializable
,java.lang.Iterable<T>
public class QueueArea<T extends Agent> extends PolygonalNode<T> implements QueueUnit
- See Also:
- Serialized Form
QueueArea() |
|
QueueArea(Agent owner) |
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
double x,
double y,
double z,
double[] dx,
double[] dy,
Slope slope,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
Attractor... attractors) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
double x,
double y,
double z,
double[] dx,
double[] dy,
Slope slope,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
PathEnd<Path>[] pathEnds,
Attractor... attractors) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
double x,
double y,
double z,
double[] dx,
double[] dy,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
Attractor... attractors) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
double x,
double y,
double z,
double[] dx,
double[] dy,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
PathEnd<Path>[] pathEnds,
Attractor... attractors) |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
IAreaNodeDescriptor<T> descriptor,
double x,
double y,
double z,
double[] dx,
double[] dy,
Slope slope,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
PathEnd<Path>[] pathEnds,
Attractor... attractors) |
|
QueueArea(Agent owner,
ShapeDrawMode drawMode,
boolean isPublic,
IAreaNodeDescriptor<T> descriptor,
double x,
double y,
double z,
double[] dx,
double[] dy,
java.awt.Paint fillColor,
java.awt.Paint lineColor,
double lineWidth,
LineStyle lineStyle,
PositionChoiceMode positionChoiceMode,
PathEnd<Path>[] pathEnds,
Attractor... attractors) |
|
Constructor | Description |
---|
int |
capacity() |
Returns the capacity of the queue
|
java.util.List<Agent> |
getPeds() |
Returns the list of agents (pedestrians) staying in this queue area
|
boolean |
isCapacityLimited() |
Returns
true if this queue has limited capacity |
int |
size() |
Returns the number of agents (pedestrians) staying in this queue area
|
Modifier and Type | Method | Description |
---|
addVertex, area, contains, getBoundingRectangle, getNearestPoint, getNearestPoint, getNPoints, getPointDx, getPointDy, getPosition, getXMax, getXMin, getYMax, getYMin, randomPointInside
accessRestrictionCondition, addAgent, addAreaDataSource, addAttractor, agents, close, contains, density, getAccessRestrictionType, getAdmittedTransporters, getAgentsWaitingToEnter, getAttractors, getCapacity, getFillColor, getFillTexture, getLineColor, getLineStyle, getLineTexture, getLineWidth, getMaxSpeed, getNumberOfAdmittedAgents, getNumberOfAdmittedTransporters, getPositionChoiceMode, getRestrictedAgentClass, getSchedule, getSlope, getThroughput, getX, getY, getZ, getZ, isAccessRestricted, isAllowedToEnter, isApplied, isAvoidedIfClosed, isLimitSpeed, isOpen, isReadyToEnter, isSpeedRestricted, iterator, notifyCancelReadyToEnter, notifyReadyToEnter, notifyReadyToEnter2, notifyReadyToExit, onClose, onEnter, onEnterDenied, onExit, onOpen, open, recalculateAccessibility, removeAgent, removeAreaDataSource, removeFromQueue, restrictAccessByCapacity, restrictAccessBySchedule, restrictAccessByThroughput, restrictAccessManually, restrictSpeed, setAccessRestricted, setAccessRestrictionType, setAvoidedIfClosed, setCapacity, setLimitSpeed, setLineColor, setLineColor, setLineStyle, setLineWidth, setMaxSpeed, setOpen, setPos, setPositionChoiceMode, setRestrictedAgentClass, setSchedule, setSlope, setSpeedRestricted, setThroughput
addConnection, getCompatibleAgentExtensionClass, getConnection, getConnectionsCount, getMaterialLibraryDescriptor, getNumberOfTransporters, getTransferDistance, getTransferPositionByPercent, getTransporter, getTransporters, setFillColor, setFillColor
getDrawMode, getLevel, getNearestPoint, getNearestPoint, getNearestPoint, getNetwork, setLevel
error, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeInternal, onAggregatorVisibilityChanged, postInitialize
getSpace
getLevel
Methods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor
getMarkup, setMarkup
getNearestPoint, getNetwork, getSpace, randomPointInside, randomPointInside, randomPointInside
getName
forEach, spliterator
setLevel
getName
public QueueArea()
public QueueArea(Agent owner)
@AnyLogicInternalCodegenAPI public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors)
@AnyLogicInternalCodegenAPI public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, Slope slope, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors)
@Deprecated public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double[] dx, double[] dy, Slope slope, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner
-drawMode
-isPublic
-x
-y
-z
-dx
-dy
-slope
-fillColor
-lineColor
-lineWidth
-lineStyle
-positionChoiceMode
-pathEnds
-attractors
-
@Deprecated public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double[] dx, double[] dy, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner
-drawMode
-isPublic
-x
-y
-z
-dx
-dy
-fillColor
-lineColor
-lineWidth
-lineStyle
-positionChoiceMode
-pathEnds
-attractors
-
@Deprecated public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double[] dx, double[] dy, Slope slope, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, Attractor... attractors)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner
-drawMode
-isPublic
-x
-y
-z
-dx
-dy
-slope
-fillColor
-lineColor
-lineWidth
-lineStyle
-positionChoiceMode
-attractors
-
@Deprecated public QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double[] dx, double[] dy, java.awt.Paint fillColor, java.awt.Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, Attractor... attractors)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner
-drawMode
-isPublic
-x
-y
-z
-dx
-dy
-fillColor
-lineColor
-lineWidth
-lineStyle
-positionChoiceMode
-attractors
-
public java.util.List<Agent> getPeds()
Returns the list of agents (pedestrians) staying in this queue area
- Specified by:
getPeds
in interfaceQueueUnit
- Overrides:
getPeds
in classAreaNode<T extends Agent>
- Returns:
- the list of peds in the queue area
public int size()
Returns the number of agents (pedestrians) staying in this queue area
@AnyLogicInternalAPI public boolean isCapacityLimited()
Description copied from interface:
QueueUnit
Returns
true
if this queue has limited capacity- Specified by:
isCapacityLimited
in interfaceQueueUnit
- Returns:
true
if this queue has limited capacity,false
otherwise- See Also:
QueueUnit.capacity()
@AnyLogicInternalAPI public int capacity()
Description copied from interface:
QueueUnit
Returns the capacity of the queue
- Specified by:
capacity
in interfaceQueueUnit
- Returns:
- the capacity of the queue
- See Also:
QueueUnit.isCapacityLimited()
-
How can we improve this article?
-