- Method Summary
- Method Details
- setOwner
- accessibleLevels
- addAccessibleLevels
- setMarkup
- getCapacity
- setCapacity
- getMovementMode
- setMovementMode
- getSpeed
- setSpeed
- getTimePerLevel
- setTimePerLevel
- minStayTime
- isAllLevels
- setAllLevels
- getCabinZ
- onArrival
- onDeparture
- onFailed
- onRepaired
- onStateChanged
- disableDoor
- enableDoor
- isDoorEnabled
- fail
- repair
- isFailed
- getCurrentDirection
- getPeds
- getState
- getCalls
- resetStats
- timeInState
- timeInState
- utilization
- totalTravelTime
- totalTravelTime
- meanWaitingTime
- meanWaitingTime
- meanWaitingTime
- meanWaitingTime
- nPickedUpPeds
- nDroppedOffPeds
- nTransportedPeds
- setManualMode
- isManualMode
- getCurrentLevel
- moveTo
- pickUpPeds
- dropOffPeds
- getTargetLevel
- getWaitingPeds
- getWaitingPeds
- deleteCallsOnLevel
- getPedTargetLevel
- getNearestLevel
- getRoute
- All Superinterfaces:
IMarkupLibraryDescriptor
- All Known Implementing Classes:
Elevator
public interface IElevatorDescriptor<A extends Agent> extends IMarkupLibraryDescriptor
void setOwner(Agent owner)
Level[] accessibleLevels()
void addAccessibleLevels(Level... levels)
void setMarkup(Elevator<A> elevator)
int getCapacity()
void setCapacity(int capacity)
ElevatorMovementMode getMovementMode()
void setMovementMode(ElevatorMovementMode movementMode)
double getSpeed()
void setSpeed(double speed)
double getTimePerLevel()
void setTimePerLevel(double timePerLevel)
double minStayTime()
boolean isAllLevels()
void setAllLevels(boolean allLevels)
double getCabinZ()
void onArrival(Level level, List<A> waitingAgents)
void onDeparture(Level level)
void onFailed()
void onRepaired()
void onStateChanged(ElevatorState newState)
void disableDoor(Level level, ElevatorDoor door)
void enableDoor(Level level, ElevatorDoor door)
boolean isDoorEnabled(Level level, ElevatorDoor door)
void fail()
void repair()
boolean isFailed()
ElevatorDirection getCurrentDirection()
Set<A> getPeds()
ElevatorState getState()
List<? extends Elevator.Call<A>> getCalls()
void resetStats()
double timeInState(ElevatorState state, TimeUnits units)
double timeInState(ElevatorState state)
double utilization()
double totalTravelTime(TimeUnits units)
double totalTravelTime()
double meanWaitingTime(TimeUnits units)
double meanWaitingTime()
double meanWaitingTime(Level level, TimeUnits units)
double meanWaitingTime(Level level)
int nPickedUpPeds(Level level)
int nDroppedOffPeds(Level level)
int nTransportedPeds()
void setManualMode(boolean on)
boolean isManualMode()
Level getCurrentLevel()
void moveTo(Level level, boolean stayInManualMode)
void pickUpPeds(Collection<? extends Agent> peds)
void dropOffPeds(Collection<? extends Agent> peds)
Level getTargetLevel()
Set<A> getWaitingPeds(Level level)
Set<A> getWaitingPeds()
void deleteCallsOnLevel(Level level)
Level getPedTargetLevel(Agent ped)
Level getNearestLevel()
List<Level> getRoute()