Package | Description |
---|---|
com.aimpulse.spectrum.config |
Platform configuration
|
com.aimpulse.spectrum.core |
Aimpulse platform
|
com.aimpulse.spectrum.core.mts |
Message transport service for the Aimpulse platform
|
com.aimpulse.spectrum.events |
Events for the Aimpulse platform
|
com.aimpulse.spectrum.mas.behaviors |
Event-driven agent behavior
|
com.aimpulse.spectrum.mas.fipa.df |
FIPA directory facilitator
|
com.aimpulse.spectrum.mas.messaging |
Agent communication
|
com.aimpulse.spectrum.mas.team |
Agent team formation
|
com.aimpulse.spectrum.time |
Time for the Aimpulse platform
|
com.aimpulse.time |
Time
|
Modifier and Type | Field and Description |
---|---|
static Timestamp |
ProcessDefinition.DEFAULT_START_TIME |
Modifier and Type | Method and Description |
---|---|
Timestamp |
ProcessDefinition.getStartTime()
Returns the process start time.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessDefinitionBuffer.setStartTime(Timestamp startTime)
Sets the start time of this process definition.
|
ProcessDefinitionBuilder |
ProcessDefinitionBuilder.withStartTime(Timestamp startTime)
Sets the start time of this process definition.
|
Modifier and Type | Field and Description |
---|---|
static Timestamp |
SimulationRuntimePolicy.UNLIMITED_STOP_TIME |
Modifier and Type | Method and Description |
---|---|
Timestamp |
Process.call()
Returns the next timestamp when this process needs to be scheduled for execution.
|
Timestamp |
SynchronizedController.currentTime()
Returns the current time as specified by the applied
TimeManager
(e.g., simulation time or wall-clock time). |
Timestamp |
DelegatingPlatform.currentTime() |
Timestamp |
DefaultPlatform.currentTime() |
Timestamp |
Controller.currentTime()
Returns the current controller time (e.g., simulation time or wall-clock time).
|
Timestamp |
Agent.currentTime() |
Timestamp |
SimulationRuntimePolicy.getTerminationTime() |
Timestamp |
RuntimePolicy.getTerminationTime()
Returns the (logical) timestamp that shall cause the platform to terminate before time
passes on to a later timestamp.
|
Timestamp |
SimulationProcess.getTime()
Returns the current logical time of this simulation process.
|
Modifier and Type | Method and Description |
---|---|
AgentIdentifier |
Platform.addAgent(Agent agent,
String name,
Timestamp startTime)
Adds an agent to the platform with a specified start time.
|
AgentIdentifier |
DelegatingPlatform.addAgent(Agent agent,
String name,
Timestamp startTime) |
AgentIdentifier |
DefaultPlatform.addAgent(Agent agent,
String name,
Timestamp startTime) |
void |
SimulationAgentController.addAgent(Agent agent,
Timestamp startTime) |
void |
Controller.addAgent(Agent agent,
Timestamp startTime)
Adds an agent to this controller to be executed as a process starting at
the given timestamp.
|
void |
SimulationProcess.setTime(Timestamp time)
Sets the logical time of this simulation process.
|
boolean |
SimulationRuntimePolicy.stopBeforeTime(Timestamp time) |
boolean |
RuntimePolicy.stopBeforeTime(Timestamp time)
Indicates whether this policy requires controller termination before the given (logical)
timestamp has passed.
|
Constructor and Description |
---|
DiscreteEventSimulation(Timestamp startTime)
Creates a new instance with the given desired start time.
|
DiscreteEventSimulation(Timestamp startTime,
Timestamp terminationTime)
Creates a new instance with the given desired start and termination time.
|
DiscreteEventSimulation(Timestamp startTime,
Timestamp terminationTime,
Duration timeGranularity)
Creates a new instance with the given desired start and termination time as well as
the given time granularity.
|
DiscreteEventSimulation(Timestamp startTime,
Timestamp terminationTime,
Duration timeGranularity,
int parallelism)
Creates a new instance with the given desired start and termination time as well as
the given time granularity.
|
SimulationRuntimePolicy(Timestamp stopTime) |
SimulationRuntimePolicy(Timestamp stopTime,
int parallelism) |
Modifier and Type | Method and Description |
---|---|
void |
Inbox.add(Message message,
Timestamp receiptStamp)
Adds a message to this inbox.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
EventStore.earliestTimestamp()
Returns the earliest timestamp contained in this event store.
|
Timestamp |
DefaultEventStore.earliestTimestamp() |
Timestamp |
Event.getTimestamp()
Returns the timestamp of this event.
|
Modifier and Type | Method and Description |
---|---|
Set<Event> |
EventStore.subsetAt(Timestamp timestamp)
Returns the subset of all events that occurred at the given timestamp.
|
Set<Event> |
DefaultEventStore.subsetAt(Timestamp timestamp) |
SortedSet<Event> |
EventStore.subsetSince(Timestamp timestamp)
Returns the subset of all events that occurred since the given timestamp.
|
SortedSet<Event> |
DefaultEventStore.subsetSince(Timestamp timestamp) |
SortedSet<Event> |
EventStore.subsetUntil(Timestamp timestamp)
Returns the subset of all events that occurred until the given timestamp.
|
SortedSet<Event> |
DefaultEventStore.subsetUntil(Timestamp timestamp) |
Constructor and Description |
---|
Event(Timestamp timestamp)
Constructs an event with a timestamp.
|
Event(Timestamp timestamp,
Message message)
Constructs a message event with a timestamp and a contained message.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
Agent.call()
Returns the next timestamp when this agent needs to be scheduled for execution.
|
Timestamp |
BasicBehavior.currentTime() |
Timestamp |
DefaultEventPattern.getTimeout() |
Timestamp |
EventPattern.getTimeout()
Returns the timeout of this event pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicBehavior.blockUntil(MessagePattern pattern,
Timestamp timestamp)
Block this behavior until a message arrives that matches the specified
message pattern but no longer than specified timeout.
|
void |
BasicBehavior.blockUntil(Timestamp timestamp)
Block this behavior until the specified timestamp.
|
Constructor and Description |
---|
DefaultEventPattern(Timestamp timeout)
Instantiates an event pattern with a timeout.
|
DefaultEventPattern(Timestamp timeout,
MessagePattern messagePattern)
Instantiates an event pattern with a timeout and a message pattern.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
AgentDescription.getLeaseTime()
Returns the time at which the lease for this agent description will expire.
|
Modifier and Type | Method and Description |
---|---|
void |
AgentDescriptionBuffer.setLeaseTime(Timestamp leaseTime)
Sets an expiration time for the description.
|
AgentDescriptionBuilder |
AgentDescriptionBuilder.withLeaseTime(Timestamp leaseTime)
Sets an expiration time for the description.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
Message.getReplyBy()
Returns the reply-by of the message (part of the conversation control).
|
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
MessageBuilder.replyBy(Timestamp replyBy)
Sets the reply-by of the messages to be built.
|
void |
ModifiableMessage.setReplyBy(Timestamp replyBy)
Sets the reply-by of the message (part of the conversation control).
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
MatchResult.getEstablished()
Returns the time at which the team has been established.
|
Constructor and Description |
---|
MatchResult(AgentIdentifier manager,
double distance,
Timestamp established)
Instantiates this match result.
|
Modifier and Type | Method and Description |
---|---|
Timestamp |
SimpleClock.currentTime() |
Timestamp |
DiscreteEventTimeManager.currentTime() |
Timestamp |
TimeProvider.currentTime()
Returns the timestamp that represents the current model time.
|
Timestamp |
DiscreteEventTimeManager.roundToGranularity(Timestamp time)
Returns the timestamp the given time stamp is mapped to in time discretization.
|
Modifier and Type | Method and Description |
---|---|
void |
TimeManager.paceTime(Timestamp nextTimestamp)
Sets time based on the time progression policy and the given next time requested
by the platform.
|
void |
DiscreteEventTimeManager.paceTime(Timestamp minTimestamp) |
Timestamp |
DiscreteEventTimeManager.roundToGranularity(Timestamp time)
Returns the timestamp the given time stamp is mapped to in time discretization.
|
void |
SimpleClock.set(Timestamp time) |
void |
Clock.set(Timestamp newTime)
Sets the clock to a given time.
|
Constructor and Description |
---|
DiscreteEventTimeManager(Timestamp start)
Creates a new instance of
DiscreteEventTimeManager . |
DiscreteEventTimeManager(Timestamp start,
Duration granularity)
Creates a new instance of
DiscreteEventTimeManager . |
SimpleClock(Timestamp time) |
Modifier and Type | Field and Description |
---|---|
static Timestamp |
Timestamp.AD_ERA_START
Timestamp for beginning of January 1st of year 1 AD/CE in Western calendars.
|
static Timestamp |
Timestamp.EPOCH_START
The
Timestamp representing The Epoch start. |
static Timestamp |
Timestamp.MAX
The maximum possible
Timestamp . |
static Timestamp |
Timestamp.MIN
The minimum possible
Timestamp . |
Modifier and Type | Method and Description |
---|---|
Timestamp |
Timestamp.add(Duration duration)
Create a new
Timestamp instance with a specified amount of
milliseconds added. |
static Timestamp |
Timestamp.fromDate(Date date)
Creates a
Timestamp instance based on the given date. |
static Timestamp |
Timestamp.fromMillisecondsSince1970(long millisecondsSince1970)
Creates a
Timestamp instance based on the given amount of
milliseconds elapsed since the beginning of the year 1970. |
static Timestamp |
Timestamp.max(Timestamp first,
Timestamp second)
Determine the maximum of two timestamps.
|
static Timestamp |
Timestamp.min(Timestamp first,
Timestamp second)
Determine the minimum of two timestamps.
|
Timestamp |
TimestampFormat.parse(String string)
Parses a timestamp.
|
Timestamp |
DefaultTimestampFormat.parse(String string) |
Modifier and Type | Method and Description |
---|---|
int |
Timestamp.compareTo(Timestamp other) |
String |
TimestampFormat.format(Timestamp timestamp)
Formats the timestamp.
|
String |
DefaultTimestampFormat.format(Timestamp timestamp) |
static TimeOfDay |
TimeOfDay.fromTimestamp(Timestamp time) |
static int |
Timestamps.hourOfDay(Timestamp time)
Returns the hour of day for the given timestamp in UTC timezone.
|
static Timestamp |
Timestamp.max(Timestamp first,
Timestamp second)
Determine the maximum of two timestamps.
|
static int |
Timestamps.millisOfSecond(Timestamp time)
Returns the milliseconds within the second for the given timestamp in UTC timezone.
|
static Timestamp |
Timestamp.min(Timestamp first,
Timestamp second)
Determine the minimum of two timestamps.
|
static int |
Timestamps.minuteOfHour(Timestamp time)
Returns the minute within the hour for the given timestamp in UTC timezone.
|
boolean |
Timestamp.precedes(Timestamp other)
Check whether the timestamp precedes another one.
|
boolean |
Timestamp.precedesOrEquals(Timestamp other)
Check whether the timestamp precedes or equals another one.
|
static int |
Timestamps.secondOfMinute(Timestamp time)
Returns the second within the minute for the given timestamp in UTC timezone.
|
boolean |
Timestamp.succeeds(Timestamp other)
Check whether the timestamp succeeds another one.
|
boolean |
Timestamp.succeedsOrEquals(Timestamp other)
Check whether the timestamp succeeds or equals another one.
|
static String |
Timestamps.toISODateString(Timestamp time)
Formats the given timestamp date according to ISO 8601 standard without time of day.
|
static String |
Timestamps.toISOString(Timestamp time)
Formats the given timestamp date according to ISO 8601 standard with time of day
applying UTC time zone.
|
Constructor and Description |
---|
Timespan(Timestamp begin,
Timestamp end)
Instantiates this timespan.
|
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.