AnyLogic
Expand
Font size

Class ConveyorSimpleStation<T extends Agent>

All Implemented Interfaces:
AggregatableAnimationElement, HasLevel, IMarkupLibraryDescriptor, INetworkMarkupElement, com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T>, com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T>, com.anylogic.engine.markup.material_handling.IMaterialFallible, com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor, com.anylogic.engine.markup.material_handling.IMaterialPointLocation<T>, SVGElement, java.io.Serializable

public class ConveyorSimpleStation<T extends Agent>
extends ConveyorStation<T>
implements com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T>
Use the Station space markup element to draw a simple processing station on a conveyor.

The station can process more than 1 material item at a time. The number of items to process is defined in the Capacity parameter. If two or more material items must be processed simultaneously, the station will wait until the required number of agents arrives.

The time required to process the specified number of material items is defined by the Delay parameter.

See Also:
Serialized Form

Constructor Summary

Constructors 
ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor)  
ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor, ShapeDrawMode drawMode, boolean isPublic, double offset, double lengthInMeters)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor, ShapeDrawMode drawMode, boolean isPublic, double offsetInPixels, double lengthInMeters, java.awt.Paint fillColor, java.awt.Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> descriptor)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods 
boolean contains​(Agent agent)
Returns true if the given agent (material item) is inside the station, returns false otherwise.
void fail()
Initiates station failure.
T getAgent​(int index)
Returns the agent (material item) that is currently located in the station
java.util.List<T> getAgents()
Returns the list of agents (material items) that are currently located in the station, returns null if none.
int getCapacity()
Returns the number of agents (material items) that may be processed by the station.
ConveyorSimpleStationDelayType getDelayType()  
java.awt.Color getFillColor()
Returns fill color of this element
Texture getFillTexture()
Returns fill texture of this element
com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> getLibraryDescriptor()  
java.awt.Color getLineColor()
Returns line color of this element
Texture getLineTexture()
Returns line texture of this element
ConveyorSimpleStationLoadingMode getLoadingMode()  
ConveyorSimpleStationProcessingMode getProcessingMode()  
int getQuantity()
Deprecated.
the method may be removed in next release, use getCapacity() instead
boolean getResourceChoiceCondition​(T agent, java.util.List<T> allAgents, Agent unit, java.lang.Object pool)  
java.lang.Object getResourceDestinationType()
Returns the type of destination the resources are sent to.
ConveyorSimpleStationState getState()  
double getStatisticsStartTime()  
boolean isCustomizeResourceChoice()  
boolean isFailed()
Returns true if the station failed (broke down) and is not operating, returns false otherwise.
boolean isProcessing()
Returns true if the station is processing agents (material items), returns false otherwise.
boolean isProcessing​(Agent agent)
Returns true if the station is processing the agent (material item), returns false otherwise.
boolean isSeizeFromOnePool()
Returns true if the station will be using resource units of the same pool, returns false otherwise.
boolean isUseResources()
Returns true if the station is using resource units, returns false otherwise.
double meanStateTime​(ConveyorSimpleStationState state, TimeUnits units)  
boolean movingGoHome​(T agent, java.util.List<T> allAgents, Agent unit)  
void onFailed()  
void onLeadingEdgeEnter​(T agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
void onLeadingEdgeExit​(T agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
void onProcessFinished​(T agent, java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
void onProcessStarted​(T agent, java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
void onRepaired()  
void onTrailingEdgeEnter​(T agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
void onTrailingEdgeExit​(T agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
double processTime​(T agent, java.util.List<T> allAgents, TimeUnits units)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Returns delay for the given agent(s)
boolean removeAgent​(Agent agent)
Removes the given agent from the station.
void repair()
Repairs station, makes it available again.
void resetStats()  
Attractor resourceDestinationAttractor​(T agent, java.util.List<T> allAgents, Agent unit)  
INode<?,​?> resourceDestinationNode​(T agent, java.util.List<T> allAgents, Agent unit)  
double resourceDestinationX​(T agent, java.util.List<T> allAgents, Agent unit)  
double resourceDestinationY​(T agent, java.util.List<T> allAgents, Agent unit)  
double resourceDestinationZ​(T agent, java.util.List<T> allAgents, Agent unit)  
java.lang.Object resourcePool​(T agent, java.util.List<T> allAgents)  
int resourceQuantity​(T agent, java.util.List<T> allAgents)  
java.lang.Object[][] resourceSets​(T agent, java.util.List<T> allAgents)  
boolean sendResources​(T agent, java.util.List<T> allAgents, Agent unit)  
void setCapacity​(int capacity)
Sets the number of agents (material items) that may be processed by the station.
void setDelayType​(ConveyorSimpleStationDelayType type)  
void setFillColor​(java.awt.Paint fillColor)
Sets the fill color of this element
void setLineColor​(java.awt.Paint lineColor)
Sets the line color of this element
void setLoadingMode​(ConveyorSimpleStationLoadingMode mode)  
void setProcessingMode​(ConveyorSimpleStationProcessingMode mode)
Cannot be changed in runtime
void setQuantity​(int quantity)
Deprecated.
the method may be removed in next release, use #setCapacity() instead
void setResourceDestinationType​(java.lang.Object resourceDestinationType)  
void setSeizeFromOnePool​(boolean seizeFromOnePool)  
void setUseResources​(boolean useResources)  
int size()
Returns the current number of agents (material items) inside the station
void stopProcess()
Stops the station when called.
void stopProcess​(Agent agent)
Stops processing of specified agent.
double totalStateTime​(ConveyorSimpleStationState state, TimeUnits units)  
Modifier and Type Method Description

Methods inherited from class com.anylogic.engine.markup.ConveyorStation

contains, getLength, getNearestPoint, randomPointInside, setLength, setNetwork

Methods inherited from class com.anylogic.engine.markup.ConveyorPathPart

getConveyor, getOffset, getOffset, setConveyor, setOffset, setOffset

Methods inherited from class com.anylogic.engine.markup.ConveyorMarkupElement

getLevel, getNetwork

Methods inherited from class com.anylogic.engine.markup.MarkupShape

error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner

Methods inherited from class com.anylogic.engine.markup.AbstractMarkup

discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement

postInitialize

Methods inherited from interface com.anylogic.engine.markup.material_handling.IMaterialMarkupLibraryDescriptor

getMarkup, setMarkup

Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement

getSpace, randomPointInside, randomPointInside, randomPointInside

Constructor Detail

ConveyorSimpleStation

public ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor)

ConveyorSimpleStation

@Deprecated
public ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor,
                             ShapeDrawMode drawMode,
                             boolean isPublic,
                             double offset,
                             double lengthInMeters)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
Parameters:
conveyor -
drawMode -
isPublic -
offset -
lengthInMeters -

ConveyorSimpleStation

@AnyLogicInternalAPI
@Deprecated
public ConveyorSimpleStation​(ConveyorPath<? extends T> conveyor,
                             ShapeDrawMode drawMode,
                             boolean isPublic,
                             double offsetInPixels,
                             double lengthInMeters,
                             java.awt.Paint fillColor,
                             java.awt.Paint lineColor,
                             com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> descriptor)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
Constructor
Parameters:
conveyor - the conveyor
drawMode -
isPublic -
offsetInPixels - offset measured from the beginning of conveyor to the end of this station, in pixels.
lengthInMeters - the length of this station in meters.
descriptor -

Method Detail

getLineColor

public java.awt.Color getLineColor()
Returns line color of this element
Returns:
line color of this element

getLineTexture

public Texture getLineTexture()
Returns line texture of this element
Returns:
line texture of this element

setLineColor

public void setLineColor​(java.awt.Paint lineColor)
Sets the line color of this element
Parameters:
lineColor - color

getFillColor

public java.awt.Color getFillColor()
Returns fill color of this element
Returns:
fill color of this element

getFillTexture

public Texture getFillTexture()
Returns fill texture of this element
Returns:
fill texture of this element

setFillColor

public void setFillColor​(java.awt.Paint fillColor)
Sets the fill color of this element
Parameters:
fillColor - color

getLibraryDescriptor

@AnyLogicInternalAPI
public com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T> getLibraryDescriptor()

getCapacity

public int getCapacity()
Returns the number of agents (material items) that may be processed by the station.
Specified by:
getCapacity in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:
the number of agents (material items) that may be processed by the station.

setCapacity

public void setCapacity​(int capacity)
Sets the number of agents (material items) that may be processed by the station.
Specified by:
setCapacity in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Parameters:
capacity - - the number of agents (material items) that may be processed by the station.

getQuantity

@Deprecated
public int getQuantity()
Deprecated.
the method may be removed in next release, use getCapacity() instead
Returns the number of agents (material items) required to start the processing.
Returns:
the number of agents (material items) required to start the processing.

setQuantity

@Deprecated
public void setQuantity​(int quantity)
Deprecated.
the method may be removed in next release, use #setCapacity() instead
Sets the number of agents (material items) that must be processed simultaneously.
Parameters:
quantity - - the number of agents (material items).

getState

public ConveyorSimpleStationState getState()
Specified by:
getState in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getLoadingMode

public ConveyorSimpleStationLoadingMode getLoadingMode()
Specified by:
getLoadingMode in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

setLoadingMode

public void setLoadingMode​(ConveyorSimpleStationLoadingMode mode)
Specified by:
setLoadingMode in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getProcessingMode

public ConveyorSimpleStationProcessingMode getProcessingMode()
Specified by:
getProcessingMode in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

setProcessingMode

public void setProcessingMode​(ConveyorSimpleStationProcessingMode mode)
Cannot be changed in runtime
Specified by:
setProcessingMode in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getDelayType

public ConveyorSimpleStationDelayType getDelayType()
Specified by:
getDelayType in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

setDelayType

public void setDelayType​(ConveyorSimpleStationDelayType type)
Specified by:
setDelayType in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

stopProcess

public void stopProcess()
Stops the station when called.
Specified by:
stopProcess in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

stopProcess

public void stopProcess​(Agent agent)
Stops processing of specified agent.
Note, this method can only be called when the station is in the SIMPLE_STATION_PROCESSING_WHEN_AGENT_ENTERS mode. If the station is in the other processing mode, use stopProcess() instead.
Specified by:
stopProcess in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Parameters:
agent - an agent that is currently processing by station

isProcessing

public boolean isProcessing()
Returns true if the station is processing agents (material items), returns false otherwise.
Specified by:
isProcessing in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:
true if the station is processing agents (material items), returns false otherwise.

isProcessing

public boolean isProcessing​(Agent agent)
Returns true if the station is processing the agent (material item), returns false otherwise.
Specified by:
isProcessing in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:
true if the station is processing the agent (material item), returns false otherwise.

processTime

@AnyLogicInternalCodegenAPI
public double processTime​(T agent,
                          java.util.List<T> allAgents,
                          TimeUnits units)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Returns delay for the given agent(s)
Specified by:
processTime in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Parameters:
agent - the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.
allAgents - list of agents in this station, sorted: 0th element is the nearest to the exit.
units - requested units of the delay value
Returns:
delay timeout in the given units

onProcessStarted

@AnyLogicInternalCodegenAPI
public void onProcessStarted​(T agent,
                             java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onProcessStarted in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Parameters:
agent - the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.
allAgents - list of agents in this station, sorted: 0th element is the nearest to the exit.

onProcessFinished

@AnyLogicInternalCodegenAPI
public void onProcessFinished​(T agent,
                              java.util.List<T> allAgents)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onProcessFinished in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Parameters:
agent - the agent if this station has only one agent. Otherwise - the first (nearest to the exit) agent.
allAgents - list of agents in this station, sorted: 0th element is the nearest to the exit.

size

public int size()
Returns the current number of agents (material items) inside the station
Specified by:
size in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Returns:
the current number of agents (material items) inside the station

getAgent

public T getAgent​(int index)
Returns the agent (material item) that is currently located in the station
Specified by:
getAgent in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Parameters:
index - - the index
Returns:
the agent (material item) that is currently located in the station

getAgents

public java.util.List<T> getAgents()
Returns the list of agents (material items) that are currently located in the station, returns null if none.
Specified by:
getAgents in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Returns:
the list of agents

contains

public boolean contains​(Agent agent)
Returns true if the given agent (material item) is inside the station, returns false otherwise.
Specified by:
contains in interface com.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
Returns:
true if the given agent (material item) is inside the station, returns false otherwise.

removeAgent

public boolean removeAgent​(Agent agent)
Removes the given agent from the station. The agent will be removed only if it is currently located inside the station.
Specified by:
removeAgent in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Parameters:
agent - - the agent (material item) to be removed from the station.
If - the agent was removed successfully, returns true, otherwise returns false.

onLeadingEdgeEnter

public void onLeadingEdgeEnter​(T agent)
Description copied from interface: com.anylogic.engine.markup.material_handling.IMaterialPointLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onLeadingEdgeEnter in interface com.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
Parameters:
agent - the agent.

onTrailingEdgeEnter

public void onTrailingEdgeEnter​(T agent)
Description copied from interface: com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onTrailingEdgeEnter in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Parameters:
agent - the agent.

onLeadingEdgeExit

public void onLeadingEdgeExit​(T agent)
Description copied from interface: com.anylogic.engine.markup.material_handling.IMaterialAreaLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onLeadingEdgeExit in interface com.anylogic.engine.markup.material_handling.IMaterialAreaLocation<T extends Agent>
Parameters:
agent - the agent.

onTrailingEdgeExit

public void onTrailingEdgeExit​(T agent)
Description copied from interface: com.anylogic.engine.markup.material_handling.IMaterialPointLocation
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.

Callback action.
Specified by:
onTrailingEdgeExit in interface com.anylogic.engine.markup.material_handling.IMaterialPointLocation<T extends Agent>
Parameters:
agent - the agent.

isFailed

public boolean isFailed()
Returns true if the station failed (broke down) and is not operating, returns false otherwise.
Specified by:
isFailed in interface com.anylogic.engine.markup.material_handling.IMaterialFallible
Returns:
true if the station failed (broke down) and is not operating, returns false otherwise.

fail

public void fail()
Initiates station failure. The station stops processing.
Specified by:
fail in interface com.anylogic.engine.markup.material_handling.IMaterialFallible

repair

public void repair()
Repairs station, makes it available again. Resumes station processing.
Specified by:
repair in interface com.anylogic.engine.markup.material_handling.IMaterialFallible

onFailed

public void onFailed()
Specified by:
onFailed in interface com.anylogic.engine.markup.material_handling.IMaterialFallible

onRepaired

public void onRepaired()
Specified by:
onRepaired in interface com.anylogic.engine.markup.material_handling.IMaterialFallible

isUseResources

public boolean isUseResources()
Returns true if the station is using resource units, returns false otherwise.
Specified by:
isUseResources in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:
true if the station is using resource units, returns false otherwise.

setUseResources

public void setUseResources​(boolean useResources)
Specified by:
setUseResources in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

isSeizeFromOnePool

public boolean isSeizeFromOnePool()
Returns true if the station will be using resource units of the same pool, returns false otherwise.
Specified by:
isSeizeFromOnePool in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:
true if the station will be using resource units of the same pool, returns false otherwise.

setSeizeFromOnePool

public void setSeizeFromOnePool​(boolean seizeFromOnePool)
Specified by:
setSeizeFromOnePool in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceSets

public java.lang.Object[][] resourceSets​(T agent,
                                         java.util.List<T> allAgents)
Specified by:
resourceSets in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourcePool

public java.lang.Object resourcePool​(T agent,
                                     java.util.List<T> allAgents)
Specified by:
resourcePool in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceQuantity

public int resourceQuantity​(T agent,
                            java.util.List<T> allAgents)
Specified by:
resourceQuantity in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

sendResources

public boolean sendResources​(T agent,
                             java.util.List<T> allAgents,
                             Agent unit)
Specified by:
sendResources in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getResourceDestinationType

public java.lang.Object getResourceDestinationType()
Returns the type of destination the resources are sent to.

Valid values:

  • Seize.DestinationType.DEST_NODE - the node the resources will be sent to.
  • Seize.DestinationType.DEST_ATTRACTOR - the attractor the resources will be sent to.
  • Seize.DestinationType.DEST_XYZ - the coordinates the resources will be sent to.
Specified by:
getResourceDestinationType in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
Returns:

setResourceDestinationType

public void setResourceDestinationType​(java.lang.Object resourceDestinationType)
Specified by:
setResourceDestinationType in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceDestinationNode

public INode<?,​?> resourceDestinationNode​(T agent,
                                                java.util.List<T> allAgents,
                                                Agent unit)
Specified by:
resourceDestinationNode in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceDestinationAttractor

public Attractor resourceDestinationAttractor​(T agent,
                                              java.util.List<T> allAgents,
                                              Agent unit)
Specified by:
resourceDestinationAttractor in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceDestinationX

public double resourceDestinationX​(T agent,
                                   java.util.List<T> allAgents,
                                   Agent unit)
Specified by:
resourceDestinationX in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceDestinationY

public double resourceDestinationY​(T agent,
                                   java.util.List<T> allAgents,
                                   Agent unit)
Specified by:
resourceDestinationY in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resourceDestinationZ

public double resourceDestinationZ​(T agent,
                                   java.util.List<T> allAgents,
                                   Agent unit)
Specified by:
resourceDestinationZ in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

movingGoHome

public boolean movingGoHome​(T agent,
                            java.util.List<T> allAgents,
                            Agent unit)
Specified by:
movingGoHome in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

isCustomizeResourceChoice

public boolean isCustomizeResourceChoice()
Specified by:
isCustomizeResourceChoice in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getResourceChoiceCondition

public boolean getResourceChoiceCondition​(T agent,
                                          java.util.List<T> allAgents,
                                          Agent unit,
                                          java.lang.Object pool)
Specified by:
getResourceChoiceCondition in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

getStatisticsStartTime

@AnyLogicInternalAPI
public double getStatisticsStartTime()
Specified by:
getStatisticsStartTime in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

resetStats

public void resetStats()
Specified by:
resetStats in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

totalStateTime

public double totalStateTime​(ConveyorSimpleStationState state,
                             TimeUnits units)
Specified by:
totalStateTime in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>

meanStateTime

public double meanStateTime​(ConveyorSimpleStationState state,
                            TimeUnits units)
Specified by:
meanStateTime in interface com.anylogic.engine.markup.material_handling.IConveyorSimpleStationDescriptor<T extends Agent>
How can we improve this article?