AnyLogic
Expand
Font size
All Superinterfaces:
IDescriptor, IMarkupLibraryDescriptor
All Known Implementing Classes:
AreaNode, PolygonalNode, QueueArea, RectangularNode

public interface IAreaNodeDescriptor<T extends Agent>
extends IDescriptor

Method Summary

All Methods Instance Methods Abstract Methods 
boolean accessRestrictionCondition​(T agent)  
AreaAccessRestrictionType getAccessRestrictionType()  
int getCapacity()  
double getMaxSpeed​(SpeedUnits units)  
java.lang.Class<? extends Agent> getRestrictedAgentClass()  
Schedule<java.lang.Boolean> getSchedule()  
double getThroughput​(RateUnits units)  
boolean isAccessRestricted()  
boolean isAvoidedIfClosed()  
boolean isSpeedRestricted()  
void onClose()  
void onEnter​(T agent)  
void onEnterDenied​(T agent)  
void onExit​(T agent)  
void onOpen()  
void setAccessRestricted​(boolean restricted)  
void setAccessRestrictionType​(AreaAccessRestrictionType restrictionType)  
void setAvoidedIfClosed​(boolean avoided)  
void setCapacity​(int capacity)  
void setMaxSpeed​(double speed, SpeedUnits units)  
void setRestrictedAgentClass​(java.lang.Class<? extends Agent> appliyngClass)  
void setSchedule​(Schedule<java.lang.Boolean> schedule)  
void setSpeedRestricted​(boolean restricted)  
void setThroughput​(double throughput, RateUnits units)  
Modifier and Type Method Description

Method Detail

getAccessRestrictionType

AreaAccessRestrictionType getAccessRestrictionType()

setAccessRestrictionType

void setAccessRestrictionType​(AreaAccessRestrictionType restrictionType)

setCapacity

void setCapacity​(int capacity)

getCapacity

int getCapacity()

getThroughput

double getThroughput​(RateUnits units)

setThroughput

void setThroughput​(double throughput,
                   RateUnits units)

getSchedule

Schedule<java.lang.Boolean> getSchedule()

setSchedule

void setSchedule​(Schedule<java.lang.Boolean> schedule)

accessRestrictionCondition

boolean accessRestrictionCondition​(T agent)

isAvoidedIfClosed

boolean isAvoidedIfClosed()

setAvoidedIfClosed

void setAvoidedIfClosed​(boolean avoided)

isSpeedRestricted

boolean isSpeedRestricted()

setSpeedRestricted

void setSpeedRestricted​(boolean restricted)

getMaxSpeed

double getMaxSpeed​(SpeedUnits units)

setMaxSpeed

void setMaxSpeed​(double speed,
                 SpeedUnits units)

getRestrictedAgentClass

java.lang.Class<? extends Agent> getRestrictedAgentClass()

setRestrictedAgentClass

void setRestrictedAgentClass​(java.lang.Class<? extends Agent> appliyngClass)

isAccessRestricted

boolean isAccessRestricted()

setAccessRestricted

void setAccessRestricted​(boolean restricted)

onEnterDenied

void onEnterDenied​(T agent)

onEnter

void onEnter​(T agent)

onExit

void onExit​(T agent)

onOpen

void onOpen()

onClose

void onClose()
How can we improve this article?