Index
All Classes|All Packages
A
- About - Class in com.assemblyrobot.ui.views
-
Backend logic component for About.fxml.
- About() - Constructor for class com.assemblyrobot.ui.views.About
- add(Station) - Method in class com.assemblyrobot.simulator.system.components.StationQueue
-
Adds a station to the queue.
- addMetrics(MaterialMetricsCollector) - Method in class com.assemblyrobot.simulator.system.components.Tracker
-
Logs metrics from processing that happened in a given
Station
, as logged by aMaterialMetricsCollector
. - addToStationQueue(Material, StageID) - Method in class com.assemblyrobot.simulator.system.components.Station
- addToStationQueue(Material, ErrorType) - Method in class com.assemblyrobot.simulator.system.components.Stage
- addToStationQueue(Material, ErrorType) - Method in class com.assemblyrobot.simulator.system.stages.AssemblyStage
- addToStationQueue(Material, ErrorType) - Method in class com.assemblyrobot.simulator.system.stages.ErrorCheckStage
- addToStationQueue(Material, ErrorType) - Method in class com.assemblyrobot.simulator.system.stages.FixStage
- advanceTick(long) - Method in class com.assemblyrobot.simulator.core.clock.Clock
-
Move the clock forward by a set number of ticks.
- afterInitialize() - Method in class com.assemblyrobot.ui.views.About
- afterInitialize() - Method in class com.assemblyrobot.ui.views.DatabaseViewer
- afterInitialize() - Method in class com.assemblyrobot.ui.views.OptionsEditor
- afterInitialize() - Method in class com.assemblyrobot.ui.views.Overview
- afterInitialize() - Method in class com.assemblyrobot.ui.views.StationViewer
- afterInitialize() - Method in interface com.assemblyrobot.ui.views.View
- AlertUtils - Class in com.assemblyrobot.ui.utils
-
Generic alert utilities.
- AlertUtils() - Constructor for class com.assemblyrobot.ui.utils.AlertUtils
- AppConfig - Class in com.assemblyrobot.shared.config.model
- AppConfig() - Constructor for class com.assemblyrobot.shared.config.model.AppConfig
- ARRIVAL - com.assemblyrobot.simulator.core.events.EventType
- ArrivalEventIntervalGenerator - Class in com.assemblyrobot.simulator.core.generators
-
Arrival event interval generator.
- ArrivalEventIntervalGenerator() - Constructor for class com.assemblyrobot.simulator.core.generators.ArrivalEventIntervalGenerator
- ArrivalEventPropagator - Class in com.assemblyrobot.simulator.system.utils
-
Propagates
EventType.ARRIVAL
events to theEngine
event queue. - ArrivalEventPropagator() - Constructor for class com.assemblyrobot.simulator.system.utils.ArrivalEventPropagator
- ASSEMBLY - com.assemblyrobot.shared.constants.StageID
- AssemblyStage - Class in com.assemblyrobot.simulator.system.stages
-
Stage
implementation that represents the assembly stage in the simulator. - AssemblyStage(StageController) - Constructor for class com.assemblyrobot.simulator.system.stages.AssemblyStage
- AssemblyStation - Class in com.assemblyrobot.simulator.system.stations
-
Station
implementation for theAssemblyStage
. - AssemblyStation(AssemblyStage) - Constructor for class com.assemblyrobot.simulator.system.stations.AssemblyStation
- AssemblyTimeGenerator - Class in com.assemblyrobot.simulator.core.generators
-
Assembly duration generator.
- AssemblyTimeGenerator() - Constructor for class com.assemblyrobot.simulator.core.generators.AssemblyTimeGenerator
B
C
- canPull() - Method in class com.assemblyrobot.simulator.system.components.Station
-
Checks if a
Material
can be pulled from theStation.materialQueue
. - CentralMetricsCollector - Class in com.assemblyrobot.simulator.core.metrics
-
Centralised metrics collector.
- CentralMetricsCollector() - Constructor for class com.assemblyrobot.simulator.core.metrics.CentralMetricsCollector
- checkEnv() - Static method in class com.assemblyrobot.shared.utils.EnvUtils
-
Checks that the mandatory environment variables (as defined by /config/config.json) are present.
- Clock - Class in com.assemblyrobot.simulator.core.clock
-
Centralised, monotonic simulator clock with support for attaching listeners to monitor clock advancements.
- Clock() - Constructor for class com.assemblyrobot.simulator.core.clock.Clock
- com.assemblyrobot.shared.config - package com.assemblyrobot.shared.config
- com.assemblyrobot.shared.config.model - package com.assemblyrobot.shared.config.model
- com.assemblyrobot.shared.constants - package com.assemblyrobot.shared.constants
- com.assemblyrobot.shared.db.dao - package com.assemblyrobot.shared.db.dao
- com.assemblyrobot.shared.db.model - package com.assemblyrobot.shared.db.model
- com.assemblyrobot.shared.utils - package com.assemblyrobot.shared.utils
- com.assemblyrobot.simulator.core - package com.assemblyrobot.simulator.core
- com.assemblyrobot.simulator.core.clock - package com.assemblyrobot.simulator.core.clock
- com.assemblyrobot.simulator.core.events - package com.assemblyrobot.simulator.core.events
- com.assemblyrobot.simulator.core.generators - package com.assemblyrobot.simulator.core.generators
- com.assemblyrobot.simulator.core.metrics - package com.assemblyrobot.simulator.core.metrics
- com.assemblyrobot.simulator.core.metrics.errors - package com.assemblyrobot.simulator.core.metrics.errors
- com.assemblyrobot.simulator.system - package com.assemblyrobot.simulator.system
- com.assemblyrobot.simulator.system.components - package com.assemblyrobot.simulator.system.components
- com.assemblyrobot.simulator.system.metricscollectors - package com.assemblyrobot.simulator.system.metricscollectors
- com.assemblyrobot.simulator.system.stages - package com.assemblyrobot.simulator.system.stages
- com.assemblyrobot.simulator.system.stations - package com.assemblyrobot.simulator.system.stations
- com.assemblyrobot.simulator.system.utils - package com.assemblyrobot.simulator.system.utils
- com.assemblyrobot.ui - package com.assemblyrobot.ui
- com.assemblyrobot.ui.controllers - package com.assemblyrobot.ui.controllers
- com.assemblyrobot.ui.models - package com.assemblyrobot.ui.models
- com.assemblyrobot.ui.utils - package com.assemblyrobot.ui.utils
- com.assemblyrobot.ui.views - package com.assemblyrobot.ui.views
- compareTo(Event) - Method in class com.assemblyrobot.simulator.core.events.Event
- compareTo(AssemblyStation) - Method in class com.assemblyrobot.simulator.system.stations.AssemblyStation
- compareTo(ErrorCheckStation) - Method in class com.assemblyrobot.simulator.system.stations.ErrorCheckStation
- compareTo(FixStation) - Method in class com.assemblyrobot.simulator.system.stations.FixStation
- compareTo(Material) - Method in class com.assemblyrobot.simulator.system.components.Material
- Config - Class in com.assemblyrobot.shared.config
-
Central configuration loader and manager class.
- Config() - Constructor for class com.assemblyrobot.shared.config.Config
- Config.UserSetting - Enum in com.assemblyrobot.shared.config
- Configuration - Class in com.assemblyrobot.shared.config.model
- Configuration() - Constructor for class com.assemblyrobot.shared.config.model.Configuration
- configureDecimalOnlyTextField(TextField) - Static method in class com.assemblyrobot.ui.utils.TextFieldUtils
-
Configures a
TextField
to only accept decimal values. - configureIntegerOnlyTextField(TextField) - Static method in class com.assemblyrobot.ui.utils.TextFieldUtils
-
Configures a
TextField
to only accept integer values. - controlSimulation(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
- createStations() - Method in class com.assemblyrobot.simulator.system.components.Stage
-
Creates a customisable, desired amount of
Station
s. - createStations() - Method in class com.assemblyrobot.simulator.system.stages.AssemblyStage
- createStations() - Method in class com.assemblyrobot.simulator.system.stages.ErrorCheckStage
- createStations() - Method in class com.assemblyrobot.simulator.system.stages.FixStage
- CUSTOM_CONFIG_LOADED - com.assemblyrobot.shared.config.Config.UserSetting
- CUSTOM_CONFIG_PATH - com.assemblyrobot.shared.config.Config.UserSetting
D
- DAO - Interface in com.assemblyrobot.shared.db.dao
- DatabaseViewer - Class in com.assemblyrobot.ui.views
- DatabaseViewer() - Constructor for class com.assemblyrobot.ui.views.DatabaseViewer
- DatabaseViewerController - Class in com.assemblyrobot.ui.controllers
-
Controller class for the
DatabaseViewer
. - DatabaseViewerController() - Constructor for class com.assemblyrobot.ui.controllers.DatabaseViewerController
- deleteRun(long) - Method in interface com.assemblyrobot.shared.db.dao.DAO
- deleteRun(long) - Method in class com.assemblyrobot.shared.db.dao.RunDAO
-
Deletes a run from the database based on its ID.
- DEPART - com.assemblyrobot.shared.constants.StageID
- DEPARTURE - com.assemblyrobot.simulator.core.events.EventType
- dump() - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Dumps the event queue, in ascending order based on execution time.
- dump() - Method in class com.assemblyrobot.simulator.core.metrics.CentralMetricsCollector
-
Dumps all current metrics collectors.
- dump() - Method in class com.assemblyrobot.simulator.system.components.StationQueue
-
Dumps all stations from the queue.
- DuplicateMetricsCollectorRegistrationError - Error in com.assemblyrobot.simulator.core.metrics.errors
- DuplicateMetricsCollectorRegistrationError(String) - Constructor for error com.assemblyrobot.simulator.core.metrics.errors.DuplicateMetricsCollectorRegistrationError
E
- endRun() - Method in class com.assemblyrobot.simulator.core.Engine
-
Stops the engine.
- Engine - Class in com.assemblyrobot.simulator.core
-
Generic simulator engine.
- Engine() - Constructor for class com.assemblyrobot.simulator.core.Engine
- ENGINE - com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
- EngineDTO - Class in com.assemblyrobot.shared.db.model
- EngineDTO(double) - Constructor for class com.assemblyrobot.shared.db.model.EngineDTO
- EngineMetricsCollector - Class in com.assemblyrobot.simulator.system.metricscollectors
-
Collects metrics from the
Engine
. - EngineMetricsCollector(Engine) - Constructor for class com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector
- EngineMetricsCollector.Metrics - Enum in com.assemblyrobot.simulator.system.metricscollectors
- EngineVisualization - Class in com.assemblyrobot.ui.models
- EngineVisualization(EngineDTO, StageControllerDTO) - Constructor for class com.assemblyrobot.ui.models.EngineVisualization
- EnvUtils - Class in com.assemblyrobot.shared.utils
- EnvUtils() - Constructor for class com.assemblyrobot.shared.utils.EnvUtils
- ERROR_CHECK - com.assemblyrobot.shared.constants.StageID
- ErrorCheckStage - Class in com.assemblyrobot.simulator.system.stages
-
Stage
implementation that represents the error checking stage in the simulator. - ErrorCheckStage(StageController) - Constructor for class com.assemblyrobot.simulator.system.stages.ErrorCheckStage
- ErrorCheckStation - Class in com.assemblyrobot.simulator.system.stations
-
Station
implementation for theErrorCheckStage
. - ErrorCheckStation(ErrorCheckStage) - Constructor for class com.assemblyrobot.simulator.system.stations.ErrorCheckStation
- ErrorCheckTimeGenerator - Class in com.assemblyrobot.simulator.core.generators
-
Error check time generator.
- ErrorCheckTimeGenerator() - Constructor for class com.assemblyrobot.simulator.core.generators.ErrorCheckTimeGenerator
- ErrorFixTimeConfig - Class in com.assemblyrobot.shared.config.model
- ErrorFixTimeConfig() - Constructor for class com.assemblyrobot.shared.config.model.ErrorFixTimeConfig
- ErrorFixTimeVisualization - Class in com.assemblyrobot.ui.models
-
Visualisation transformer class for
ErrorFixTimeConfig
s. - ErrorFixTimeVisualization() - Constructor for class com.assemblyrobot.ui.models.ErrorFixTimeVisualization
- ErrorOccurrenceConfig - Class in com.assemblyrobot.shared.config.model
- ErrorOccurrenceConfig() - Constructor for class com.assemblyrobot.shared.config.model.ErrorOccurrenceConfig
- ErrorOccurrenceGenerator - Class in com.assemblyrobot.simulator.core.generators
-
Error occurrence generator.
- ErrorOccurrenceGenerator() - Constructor for class com.assemblyrobot.simulator.core.generators.ErrorOccurrenceGenerator
- ErrorOccurrenceVisualization - Class in com.assemblyrobot.ui.models
-
Visualisation transformer class for
ErrorOccurrenceConfig
s. - ErrorOccurrenceVisualization(String, ErrorOccurrenceConfig) - Constructor for class com.assemblyrobot.ui.models.ErrorOccurrenceVisualization
- ErrorType - Enum in com.assemblyrobot.shared.constants
- Event - Class in com.assemblyrobot.simulator.core.events
-
Generic simulator event class.
- Event() - Constructor for class com.assemblyrobot.simulator.core.events.Event
- EventQueue - Class in com.assemblyrobot.simulator.core.events
-
Generic event queue.
- EventQueue() - Constructor for class com.assemblyrobot.simulator.core.events.EventQueue
- EventType - Enum in com.assemblyrobot.simulator.core.events
F
- feedNext() - Method in class com.assemblyrobot.simulator.system.utils.ArrivalEventPropagator
-
Schedules next
Event
for theEventQueue
. - finalize() - Method in class com.assemblyrobot.shared.db.dao.RunDAO
- FIRST_RUN - com.assemblyrobot.shared.config.Config.UserSetting
- FITTING - com.assemblyrobot.shared.constants.ErrorType
- FIX - com.assemblyrobot.shared.constants.StageID
- FixStage - Class in com.assemblyrobot.simulator.system.stages
-
Stage
implementation that represents the error fixing stage in the simulator. - FixStage(StageController) - Constructor for class com.assemblyrobot.simulator.system.stages.FixStage
- FixStation - Class in com.assemblyrobot.simulator.system.stations
-
Station
implementation for theAssemblyStage
. - FixStation(FixStage, ErrorType) - Constructor for class com.assemblyrobot.simulator.system.stations.FixStation
- flush() - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Empties the event queue.
G
- Generator - Interface in com.assemblyrobot.simulator.core.generators
-
Generic generator interface.
- getAll() - Method in class com.assemblyrobot.simulator.system.components.StationQueue
-
Returns a
List
of allStation
s in this queue. - getAllRuns() - Method in interface com.assemblyrobot.shared.db.dao.DAO
- getAllRuns() - Method in class com.assemblyrobot.shared.db.dao.RunDAO
-
Returns an array of all runs in the database.
- getAllTextFields(Pane) - Static method in class com.assemblyrobot.ui.utils.TextFieldUtils
-
Recursively returns all
TextField
nodes inside a givenPane
. - getArrivalIntervalParams() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getAssemblyTimeParams() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getAssemblyVisualizations() - Method in class com.assemblyrobot.ui.controllers.StationViewerController
-
Used to reformat
StationQueue
into a data format usable byStationViewerVisualization
. - getByClass(String) - Static method in enum com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
-
Determines the appropriate metrics collector type based on a name (= organisational identifier).
- getConfig() - Static method in class com.assemblyrobot.shared.config.Config
-
Returns the configuration as defined in resources/config/config.json, or in an optional custom path if specified by the user.
- getErrorCheckTimeParams() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getErrorCheckVisualizations() - Method in class com.assemblyrobot.ui.controllers.StationViewerController
-
Used to reformat
StationQueue
into a data format usable byStationViewerVisualization
. - getErrorFixTimes() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getErrorOccurrenceParams() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getFixVisualizations() - Method in class com.assemblyrobot.ui.controllers.StationViewerController
-
Used to reformat
StationQueue
into a data format usable byStationViewerVisualization
. - getMetric(String) - Method in class com.assemblyrobot.simulator.core.metrics.MetricsCollector
-
Gets a metric by name.
- getMetric(String, double) - Method in class com.assemblyrobot.simulator.core.metrics.MetricsCollector
-
Gets a metric by name, specifying a default value to use when a metric by this name does not exist.
- getPassthroughTime() - Method in class com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector
- getProcessingDuration() - Method in class com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector
-
Gets the duration of how long it has taken to process a material.
- getProcessingTime() - Method in class com.assemblyrobot.simulator.system.components.Station
-
Gets the processing duration of the
Station
from a corresponding generator. - getProcessingTime() - Method in class com.assemblyrobot.simulator.system.stations.AssemblyStation
- getProcessingTime() - Method in class com.assemblyrobot.simulator.system.stations.ErrorCheckStation
- getProcessingTime() - Method in class com.assemblyrobot.simulator.system.stations.FixStation
- getQueueDuration() - Method in class com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector
-
Gets the duration of how long a material has queued.
- getQueueLength() - Method in class com.assemblyrobot.simulator.system.components.Station
-
Returns the length of the queue for this station.
- getRun(long) - Method in interface com.assemblyrobot.shared.db.dao.DAO
- getRun(long) - Method in class com.assemblyrobot.shared.db.dao.RunDAO
-
Gets a simulator run by ID.
- getRuns() - Method in class com.assemblyrobot.ui.controllers.DatabaseViewerController
-
Returns a list of
RunDTO
s sorted in ascending order. - getStationParams() - Method in class com.assemblyrobot.shared.db.model.RunDTO
- getTotalPassthroughTime() - Method in class com.assemblyrobot.simulator.system.components.Material
-
Calculates the amount of time the
Material
spent in the system. - getUserSetting(Config.UserSetting) - Static method in class com.assemblyrobot.shared.config.Config
-
Gets a user setting as a string, or null if not defined.
- getUserSettingBoolean(Config.UserSetting) - Static method in class com.assemblyrobot.shared.config.Config
-
Gets a user setting as a boolean.
- gson - Static variable in class com.assemblyrobot.shared.utils.JsonUtils
H
- handleCloseButtonClick() - Method in class com.assemblyrobot.ui.views.About
- handleLoadButtonClick() - Method in class com.assemblyrobot.ui.views.OptionsEditor
- handleResetButtonClick() - Method in class com.assemblyrobot.ui.views.OptionsEditor
- handleSaveButtonClick() - Method in class com.assemblyrobot.ui.views.OptionsEditor
- hasUserSetting(Config.UserSetting) - Static method in class com.assemblyrobot.shared.config.Config
-
Checks if a user setting exists.
I
- incrementMetric(String) - Method in class com.assemblyrobot.simulator.core.metrics.MetricsCollector
-
Increments a metric by 1.
- incrementMetric(String, double) - Method in class com.assemblyrobot.simulator.core.metrics.MetricsCollector
-
Increments a metric by wanted amount.
- init() - Method in class com.assemblyrobot.simulator.core.Engine
- init() - Method in class com.assemblyrobot.simulator.system.SimulatorEngine
- initialize(URL, ResourceBundle) - Method in class com.assemblyrobot.ui.views.About
- initialize(URL, ResourceBundle) - Method in class com.assemblyrobot.ui.views.DatabaseViewer
- initialize(URL, ResourceBundle) - Method in class com.assemblyrobot.ui.views.OptionsEditor
- initialize(URL, ResourceBundle) - Method in class com.assemblyrobot.ui.views.Overview
- initialize(URL, ResourceBundle) - Method in class com.assemblyrobot.ui.views.StationViewer
- isBusy() - Method in class com.assemblyrobot.simulator.system.components.Station
J
- JsonUtils - Class in com.assemblyrobot.shared.utils
- JsonUtils() - Constructor for class com.assemblyrobot.shared.utils.JsonUtils
L
- LinkUtils - Class in com.assemblyrobot.ui.utils
-
Generic link utilities.
- LinkUtils() - Constructor for class com.assemblyrobot.ui.utils.LinkUtils
- load() - Static method in class com.assemblyrobot.shared.config.Config
-
(Re)loads the configuration file from either the default path (
Config.DEFAULT_CONFIG_PATH
) or a custom path as specified by the user. - logRun() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Logs the current simulator run to the database.
- logRun(RunDTO, EngineDTO, StageControllerDTO, StationDTO[], MaterialDTO[]) - Method in interface com.assemblyrobot.shared.db.dao.DAO
- logRun(RunDTO, EngineDTO, StageControllerDTO, StationDTO[], MaterialDTO[]) - Method in class com.assemblyrobot.shared.db.dao.RunDAO
-
Logs a simulator run.
M
- main(String[]) - Static method in class com.assemblyrobot.ui.Main
- Main - Class in com.assemblyrobot.ui
- Main() - Constructor for class com.assemblyrobot.ui.Main
- Material - Class in com.assemblyrobot.simulator.system.components
-
Represents a product traveling through the production line in a simulated environment.
- Material() - Constructor for class com.assemblyrobot.simulator.system.components.Material
- MATERIAL - com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
- MaterialDTO - Class in com.assemblyrobot.shared.db.model
- MaterialDTO(String, double, double, double, double, double, double, double) - Constructor for class com.assemblyrobot.shared.db.model.MaterialDTO
- materialFromBolting() - Method in class com.assemblyrobot.ui.views.Overview
- materialFromFitting() - Method in class com.assemblyrobot.ui.views.Overview
- materialFromPosition() - Method in class com.assemblyrobot.ui.views.Overview
- materialFromRiveting() - Method in class com.assemblyrobot.ui.views.Overview
- materialFromWelding() - Method in class com.assemblyrobot.ui.views.Overview
- MaterialMetricsCollector - Class in com.assemblyrobot.simulator.system.metricscollectors
- MaterialMetricsCollector(StageID, String, long) - Constructor for class com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector
- MaterialMetricsCollector.Metrics - Enum in com.assemblyrobot.simulator.system.metricscollectors
- materialToAssembly() - Method in class com.assemblyrobot.ui.views.Overview
- materialToBolting() - Method in class com.assemblyrobot.ui.views.Overview
- materialToDeparture() - Method in class com.assemblyrobot.ui.views.Overview
- materialToErrorCheck() - Method in class com.assemblyrobot.ui.views.Overview
- materialToFitting() - Method in class com.assemblyrobot.ui.views.Overview
- materialToPosition() - Method in class com.assemblyrobot.ui.views.Overview
- materialToRiveting() - Method in class com.assemblyrobot.ui.views.Overview
- materialToWelding() - Method in class com.assemblyrobot.ui.views.Overview
- MetricsCollector - Class in com.assemblyrobot.simulator.core.metrics
-
Generic metrics collector.
- MetricsCollector(String, String) - Constructor for class com.assemblyrobot.simulator.core.metrics.MetricsCollector
- MetricsCollectorType - Enum in com.assemblyrobot.simulator.core.metrics
- MetricsCollectorTypeNotRegisteredError - Error in com.assemblyrobot.simulator.core.metrics.errors
- MetricsCollectorTypeNotRegisteredError(String) - Constructor for error com.assemblyrobot.simulator.core.metrics.errors.MetricsCollectorTypeNotRegisteredError
N
- nextDouble() - Method in class com.assemblyrobot.simulator.core.generators.ArrivalEventIntervalGenerator
- nextDouble() - Method in class com.assemblyrobot.simulator.core.generators.AssemblyTimeGenerator
- nextDouble() - Method in class com.assemblyrobot.simulator.core.generators.ErrorCheckTimeGenerator
- nextDouble() - Method in interface com.assemblyrobot.simulator.core.generators.Generator
-
Gets the next random value as a
Double
. - nextError() - Method in class com.assemblyrobot.simulator.core.generators.ErrorOccurrenceGenerator
- nextInt() - Method in class com.assemblyrobot.simulator.core.generators.ArrivalEventIntervalGenerator
- nextInt() - Method in class com.assemblyrobot.simulator.core.generators.AssemblyTimeGenerator
- nextInt() - Method in class com.assemblyrobot.simulator.core.generators.ErrorCheckTimeGenerator
- nextInt() - Method in interface com.assemblyrobot.simulator.core.generators.Generator
-
Gets the next random value as an
Integer
. - nextLong() - Method in class com.assemblyrobot.simulator.core.generators.ArrivalEventIntervalGenerator
- nextLong() - Method in class com.assemblyrobot.simulator.core.generators.AssemblyTimeGenerator
- nextLong() - Method in class com.assemblyrobot.simulator.core.generators.ErrorCheckTimeGenerator
- nextLong() - Method in interface com.assemblyrobot.simulator.core.generators.Generator
-
Gets the next random value as a
Long
. - nextTick() - Method in class com.assemblyrobot.simulator.core.clock.Clock
-
Move the clock forward by one tick.
- NormalDistributionConfig - Class in com.assemblyrobot.shared.config.model
- NormalDistributionConfig() - Constructor for class com.assemblyrobot.shared.config.model.NormalDistributionConfig
- NormalDistributionVisualization - Class in com.assemblyrobot.ui.models
-
Visualisation transformer class for
NormalDistributionConfig
s. - NormalDistributionVisualization(String, NormalDistributionConfig) - Constructor for class com.assemblyrobot.ui.models.NormalDistributionVisualization
O
- onArrival() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Visualises the arrival of a
Material
into the system. - onArrival(Event) - Method in class com.assemblyrobot.simulator.system.SimulatorEngine
- onArrival(Event) - Method in class com.assemblyrobot.simulator.core.Engine
- onChildQueueDepart(Material, MaterialMetricsCollector) - Method in class com.assemblyrobot.simulator.system.components.StageController
- onDeparture(Event) - Method in class com.assemblyrobot.simulator.core.Engine
- onDeparture(Event) - Method in class com.assemblyrobot.simulator.system.SimulatorEngine
- onSliderChanged(MouseEvent) - Method in class com.assemblyrobot.ui.views.Overview
- onTickAdvance(long) - Method in class com.assemblyrobot.simulator.core.clock.TickAdvanceListener
-
Callback method for when the clock moves forward.
- onTickAdvance(long) - Method in class com.assemblyrobot.simulator.system.components.Station
-
Determines the status of the
Material
and coordinates its processing accordingly. - onTickAdvance(long) - Method in class com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector
- onTickAdvance(long) - Method in class com.assemblyrobot.ui.views.StationViewer
- onTickReset() - Method in class com.assemblyrobot.simulator.core.clock.TickAdvanceListener
-
Callback method for when the clock tick was reset to 0.
- onTickReset() - Method in class com.assemblyrobot.simulator.system.components.Station
- onTickReset() - Method in class com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector
- onTickReset() - Method in class com.assemblyrobot.ui.views.StationViewer
- onTransfer(TransferEvent) - Method in class com.assemblyrobot.simulator.core.Engine
- onTransfer(TransferEvent) - Method in class com.assemblyrobot.simulator.system.SimulatorEngine
- onTransfer(String) - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Visualises the transfer of a
Material
in the system. - openAbout(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
- openDatabaseViewer(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
- openOptionsEditor(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
- openURLInBrowser(String) - Static method in class com.assemblyrobot.ui.utils.LinkUtils
-
Opens a URL in the user's default browser on supported operating systems.
- OptionsEditor - Class in com.assemblyrobot.ui.views
- OptionsEditor() - Constructor for class com.assemblyrobot.ui.views.OptionsEditor
- Overview - Class in com.assemblyrobot.ui.views
- Overview() - Constructor for class com.assemblyrobot.ui.views.Overview
- OverviewController - Class in com.assemblyrobot.ui.controllers
-
Controller class for the
Overview
. - OverviewController() - Constructor for class com.assemblyrobot.ui.controllers.OverviewController
P
- PASSTHROUGH_TIME - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- peek() - Method in class com.assemblyrobot.simulator.system.components.StationQueue
-
Returns the next vacant
Station
. - peekNext() - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Returns the next
Event
to be executed. - pop() - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Returns the next
Event
to be executed, simultaneously removing it from the queue. - print() - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Prints the event queue to the terminal.
- PROCESSING_COMPLETE - com.assemblyrobot.simulator.core.events.EventType
- PROCESSING_DURATION - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- PROCESSING_END_TIME - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- PROCESSING_START_TIME - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- processMaterial() - Method in class com.assemblyrobot.simulator.system.components.Station
-
Starts the processing of the
Material
. - putMetric(String, double) - Method in class com.assemblyrobot.simulator.core.metrics.MetricsCollector
-
Sets or updates a metric.
- putUserSetting(Config.UserSetting, boolean) - Static method in class com.assemblyrobot.shared.config.Config
-
Defines a user setting as a boolean value.
- putUserSetting(Config.UserSetting, String) - Static method in class com.assemblyrobot.shared.config.Config
-
Defines a user setting as a string value.
Q
- QUEUE_DURATION - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- QUEUE_END_TIME - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
- QUEUE_START_TIME - com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
R
- refresh() - Method in class com.assemblyrobot.ui.views.StationViewer
- refreshStationViewer() - Method in class com.assemblyrobot.ui.controllers.StationViewerController
- registerIncomingMaterial() - Method in class com.assemblyrobot.simulator.system.components.StageController
-
Registers a new
Material
to the system. - registerMetricsCollector(String, MetricsCollector) - Method in class com.assemblyrobot.simulator.core.metrics.CentralMetricsCollector
-
Registers a metrics collector.
- registerTickAdvanceListener(TickAdvanceListener) - Method in class com.assemblyrobot.simulator.core.clock.Clock
-
Register a tick advancement listener.
- removeUserSetting(Config.UserSetting) - Static method in class com.assemblyrobot.shared.config.Config
-
Removes a user setting.
- reset() - Method in class com.assemblyrobot.simulator.core.clock.Clock
-
Reset the clock tick to 0.
- reset() - Method in class com.assemblyrobot.simulator.system.components.Material
-
Resets all class fields to their default values.
- reset() - Method in class com.assemblyrobot.ui.views.StationViewer
- resetEngine() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Resets the
Engine
for a new simulator run. - resetId() - Static method in class com.assemblyrobot.simulator.system.components.Material
- resetId() - Static method in class com.assemblyrobot.simulator.system.stations.AssemblyStation
- resetId() - Static method in class com.assemblyrobot.simulator.system.stations.ErrorCheckStation
- resetId() - Static method in class com.assemblyrobot.simulator.system.stations.FixStation
- resetMetricsCollectors() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Resets all metrics collectors.
- resetStationViewer() - Method in class com.assemblyrobot.ui.controllers.StationViewerController
- RETURNING - com.assemblyrobot.shared.constants.ErrorType
- RIVETING - com.assemblyrobot.shared.constants.ErrorType
- run() - Method in class com.assemblyrobot.simulator.core.Engine
-
Starts the Engine thread.
- RunDAO - Class in com.assemblyrobot.shared.db.dao
-
DAO for accessing the simulator run history database.
- RunDTO - Class in com.assemblyrobot.shared.db.model
- RunDTO(NormalDistributionConfig, NormalDistributionConfig, NormalDistributionConfig, ErrorOccurrenceConfig, ErrorFixTimeConfig, StationConfig) - Constructor for class com.assemblyrobot.shared.db.model.RunDTO
S
- schedule(Event) - Method in class com.assemblyrobot.simulator.core.events.EventQueue
-
Schedules an
Event
for future execution. - semVer - Static variable in class com.assemblyrobot.shared.constants.Version
- setArrivalIntervalParams(NormalDistributionConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setAssemblyTimeParams(NormalDistributionConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setCanProceed(boolean) - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Allows the engine to run a new CPU cycle in step-by-step mode.
- setEngine(Engine) - Method in class com.assemblyrobot.ui.controllers.StationViewerController
- setErrorCheckTimeParams(NormalDistributionConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setErrorFixTimes(ErrorFixTimeConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setErrorOccurrenceParams(ErrorOccurrenceConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setMain(Main) - Method in interface com.assemblyrobot.ui.views.View
- setMaterials(MaterialDTO[]) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setName(String) - Method in class com.assemblyrobot.ui.models.StationViewerVisualization
- setNextStage(StageID) - Method in class com.assemblyrobot.simulator.system.components.Material
-
Alternatively worded setter for
Material.currentStage
. - setPause(boolean) - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Pauses execution and enters step-by-step mode.
- setSpeed(double) - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Sets the engine speed multiplier.
- setStage(Stage) - Method in interface com.assemblyrobot.ui.views.View
- setStationParams(StationConfig) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setStations(StationDTO[]) - Method in class com.assemblyrobot.shared.db.model.RunDTO
- setStationViewerController(StationViewerController) - Method in class com.assemblyrobot.ui.controllers.OverviewController
- setStatus(boolean) - Method in class com.assemblyrobot.ui.models.StationViewerVisualization
- shouldHaveError() - Method in class com.assemblyrobot.simulator.core.generators.ErrorOccurrenceGenerator
- showAbout() - Method in class com.assemblyrobot.ui.Main
-
Shows the
About
window. - showAlert(Alert.AlertType, String, String) - Static method in class com.assemblyrobot.ui.utils.AlertUtils
-
Shows an
Alert
and waits for the user to click OK. - showDatabaseViewer() - Method in class com.assemblyrobot.ui.Main
-
Shows the
DatabaseViewer
. - showExceptionAlert(String, String, Exception) - Static method in class com.assemblyrobot.ui.utils.AlertUtils
-
Shows an
Alert
with support for including exceptions to display. - showOptionsEditor() - Method in class com.assemblyrobot.ui.Main
-
Shows the
OptionsEditor
. - SimulatorEngine - Class in com.assemblyrobot.simulator.system
-
Main
Engine
implementation for the simulator. - SimulatorEngine() - Constructor for class com.assemblyrobot.simulator.system.SimulatorEngine
- Stage - Class in com.assemblyrobot.simulator.system.components
-
Abstract super class for all
Stage
classes. - Stage() - Constructor for class com.assemblyrobot.simulator.system.components.Stage
- STAGE - com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
- STAGE_CONTROLLER - com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
- StageController - Class in com.assemblyrobot.simulator.system.components
- StageController() - Constructor for class com.assemblyrobot.simulator.system.components.StageController
- StageController.Metrics - Enum in com.assemblyrobot.simulator.system.components
- StageControllerDTO - Class in com.assemblyrobot.shared.db.model
- StageControllerDTO(double, double) - Constructor for class com.assemblyrobot.shared.db.model.StageControllerDTO
- StageID - Enum in com.assemblyrobot.shared.constants
- start(Stage) - Method in class com.assemblyrobot.ui.Main
- startEngine() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Starts a new simulation run.
- Station - Class in com.assemblyrobot.simulator.system.components
-
Abstract super class for all station classes.
- Station(StageController, String) - Constructor for class com.assemblyrobot.simulator.system.components.Station
- STATION - com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
- STATION_BUSY_TIME - com.assemblyrobot.simulator.system.components.Station.Metrics
- STATION_MATERIAL_AMOUNT - com.assemblyrobot.simulator.system.components.Station.Metrics
- STATION_PROCESSED_AMOUNT - com.assemblyrobot.simulator.system.components.Station.Metrics
- STATION_TOTAL_PASSTHROUGH_TIME - com.assemblyrobot.simulator.system.components.Station.Metrics
- Station.Metrics - Enum in com.assemblyrobot.simulator.system.components
- StationAmountVisualization - Class in com.assemblyrobot.ui.models
-
Visualisation transformer class for
StationConfig
s. - StationAmountVisualization() - Constructor for class com.assemblyrobot.ui.models.StationAmountVisualization
- StationConfig - Class in com.assemblyrobot.shared.config.model
- StationConfig() - Constructor for class com.assemblyrobot.shared.config.model.StationConfig
- StationDTO - Class in com.assemblyrobot.shared.db.model
- StationDTO(String, double, double, double, double) - Constructor for class com.assemblyrobot.shared.db.model.StationDTO
- StationQueue - Class in com.assemblyrobot.simulator.system.components
-
Generic station list/queue, ordered by vacancy (I.e.
- StationQueue() - Constructor for class com.assemblyrobot.simulator.system.components.StationQueue
- StationViewer - Class in com.assemblyrobot.ui.views
- StationViewer() - Constructor for class com.assemblyrobot.ui.views.StationViewer
- StationViewerController - Class in com.assemblyrobot.ui.controllers
-
Controller class for the
StationViewer
. - StationViewerController() - Constructor for class com.assemblyrobot.ui.controllers.StationViewerController
- StationViewerVisualization - Class in com.assemblyrobot.ui.models
-
Visualisation transformer class for
Station
s. - StationViewerVisualization(String, boolean, int) - Constructor for class com.assemblyrobot.ui.models.StationViewerVisualization
- StationVisualization - Class in com.assemblyrobot.ui.models
- StationVisualization(StationDTO, EngineDTO) - Constructor for class com.assemblyrobot.ui.models.StationVisualization
- stopEngine() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Ends the current simulation run.
- stopSimulation(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
T
- takeStep() - Method in class com.assemblyrobot.ui.controllers.OverviewController
-
Moves the engine forward by one CPU cycle in step-by-step mode.
- takeStep(ActionEvent) - Method in class com.assemblyrobot.ui.views.Overview
- TextFieldUtils - Class in com.assemblyrobot.ui.utils
-
Generic
TextField
utilities. - TextFieldUtils() - Constructor for class com.assemblyrobot.ui.utils.TextFieldUtils
- TickAdvanceListener - Class in com.assemblyrobot.simulator.core.clock
-
Generic tick advancement listener.
- TickAdvanceListener() - Constructor for class com.assemblyrobot.simulator.core.clock.TickAdvanceListener
- TOTAL_ASSEMBLED_AMOUNT - com.assemblyrobot.simulator.system.components.StageController.Metrics
- TOTAL_MATERIAL_AMOUNT - com.assemblyrobot.simulator.system.components.StageController.Metrics
- TOTAL_SIMULATION_TIME - com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector.Metrics
- Tracker - Class in com.assemblyrobot.simulator.system.components
-
Contains tracking data of a
Material
. - Tracker() - Constructor for class com.assemblyrobot.simulator.system.components.Tracker
- TRANSFER - com.assemblyrobot.simulator.core.events.EventType
- transferAll() - Method in class com.assemblyrobot.simulator.system.components.StageController
-
Transfers all materials in the transfer queue to their appropriate destinations.
- TransferEvent - Class in com.assemblyrobot.simulator.core.events
-
Unique
Event
subclass forEventType.TRANSFER
events, which require information to be passed on the destination of aMaterial
. - TransferEvent(long, EventType, StageID, StageID, ErrorType) - Constructor for class com.assemblyrobot.simulator.core.events.TransferEvent
U
- updateConfig(Configuration) - Static method in class com.assemblyrobot.shared.config.Config
- updateMetrics() - Method in class com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector
-
Copies values of relevant class fields to the
MetricsCollector
. - updateRuns() - Method in class com.assemblyrobot.ui.controllers.DatabaseViewerController
-
Updates the run list based on information in the database.
V
- valueOf(String) - Static method in enum com.assemblyrobot.shared.config.Config.UserSetting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.shared.constants.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.shared.constants.StageID
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.core.events.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.system.components.StageController.Metrics
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.system.components.Station.Metrics
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector.Metrics
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.assemblyrobot.shared.config.Config.UserSetting
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.shared.constants.ErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.shared.constants.StageID
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.core.events.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.core.metrics.MetricsCollectorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.system.components.StageController.Metrics
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.system.components.Station.Metrics
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.system.metricscollectors.EngineMetricsCollector.Metrics
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.assemblyrobot.simulator.system.metricscollectors.MaterialMetricsCollector.Metrics
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Class in com.assemblyrobot.shared.constants
- Version() - Constructor for class com.assemblyrobot.shared.constants.Version
- View - Interface in com.assemblyrobot.ui.views
W
A B C D E F G H I J L M N O P Q R S T U V WAll Classes|All Packages