AnyLogic
Expand
Font size
All Superinterfaces:
IMarkupLibraryDescriptor
All Known Implementing Classes:
Elevator

public interface IElevatorDescriptor<A extends Agent>
extends IMarkupLibraryDescriptor

Method Summary

All Methods Instance Methods Abstract Methods 
void fail()  
Level[] getAccessibleLevels()  
double getCabinHeight()  
java.util.List<? extends Elevator.Call<A>> getCalls()  
int getCapacity()  
ElevatorDirection getCurrentDirection()  
ElevatorMovementMode getMovementMode()  
java.util.Set<A> getPeds()  
double getSpeed()  
ElevatorState getState()  
double getTimePerFloor()  
java.awt.Color getWallColor()  
double getWallWidth()  
boolean isAllLevels()  
boolean isFailed()  
double meanWaitingTime​(Level level, TimeUnits units)  
double meanWaitingTime​(TimeUnits units)  
double minStayTime()  
int nDroppedOffPeds​(Level level)  
int nPickedUpPeds​(Level level)  
int nTransportedPeds()  
void onFailed()  
void onLevelArrival​(Level level, java.util.List<A> waitingAgents)  
void onLevelDeparture​(Level level)  
void onRepaired()  
java.awt.Color platformColor​(ElevatorState state)  
void repair()  
void resetStats()  
void setAccessibleLevels​(Level[] levels)  
void setAllLevels​(boolean allLevels)  
void setCabinHeight​(double height)  
void setCapacity​(int capacity)  
void setMarkup​(Elevator<A> elevator)  
void setMovementMode​(ElevatorMovementMode movementMode)  
void setOwner​(Agent owner)  
void setSpeed​(double speed)  
void setTimePerFloor​(double timePerFloor)  
void setWallColor​(java.awt.Color color)  
void setWallWidth​(double width)  
double timeInState​(ElevatorState state, TimeUnits units)  
double totalTravelTime​(TimeUnits units)  
double utilization()  
Modifier and Type Method Description

Method Detail

setOwner

void setOwner​(Agent owner)

getAccessibleLevels

Level[] getAccessibleLevels()

setAccessibleLevels

void setAccessibleLevels​(Level[] levels)

setMarkup

void setMarkup​(Elevator<A> elevator)

getCapacity

int getCapacity()

setCapacity

void setCapacity​(int capacity)

getMovementMode

ElevatorMovementMode getMovementMode()

setMovementMode

void setMovementMode​(ElevatorMovementMode movementMode)

getSpeed

double getSpeed()

setSpeed

void setSpeed​(double speed)

getTimePerFloor

double getTimePerFloor()

setTimePerFloor

void setTimePerFloor​(double timePerFloor)

minStayTime

double minStayTime()

isAllLevels

boolean isAllLevels()

setAllLevels

void setAllLevels​(boolean allLevels)

platformColor

java.awt.Color platformColor​(ElevatorState state)

getCabinHeight

double getCabinHeight()

setCabinHeight

void setCabinHeight​(double height)

getWallWidth

double getWallWidth()

setWallWidth

void setWallWidth​(double width)

getWallColor

java.awt.Color getWallColor()

setWallColor

void setWallColor​(java.awt.Color color)

onLevelArrival

void onLevelArrival​(Level level,
                    java.util.List<A> waitingAgents)

onLevelDeparture

void onLevelDeparture​(Level level)

onFailed

void onFailed()

onRepaired

void onRepaired()

fail

void fail()

repair

void repair()

isFailed

boolean isFailed()

getCurrentDirection

ElevatorDirection getCurrentDirection()

getPeds

java.util.Set<A> getPeds()

getState

ElevatorState getState()

getCalls

java.util.List<? extends Elevator.Call<A>> getCalls()

resetStats

void resetStats()

timeInState

double timeInState​(ElevatorState state,
                   TimeUnits units)

utilization

double utilization()

totalTravelTime

double totalTravelTime​(TimeUnits units)

meanWaitingTime

double meanWaitingTime​(TimeUnits units)

meanWaitingTime

double meanWaitingTime​(Level level,
                       TimeUnits units)

nPickedUpPeds

int nPickedUpPeds​(Level level)

nDroppedOffPeds

int nDroppedOffPeds​(Level level)

nTransportedPeds

int nTransportedPeds()
How can we improve this article?