Package com.anylogic.engine
- java.lang.Object
-
- java.lang.Enum<VariableDelay.Type>
-
- com.anylogic.engine.VariableDelay.Type
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VariableDelay.Type>
- Enclosing class:
- VariableDelay
public static enum VariableDelay.Type extends java.lang.Enum<VariableDelay.Type>
Type of delay object, see description on items
- Author:
- AnyLogic North America, LLC https://anylogic.com
EXACT_DELAY |
Delay returns the value of input at
CurrentTime - DelayTime .When DelayTime increases, delay holds the last
returned value or returns MissingValue (if specified). |
INFORMATION_DELAY |
Delay represents a channel of length
DelayTime
with input and output. |
MATERIAL_DELAY |
Delay represents a channel of length
DelayTime
with input and output. |
Enum Constant | Description |
---|
static VariableDelay.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static VariableDelay.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final VariableDelay.Type EXACT_DELAY
- Delay returns the value of input at
CurrentTime - DelayTime
.
- When
DelayTime
increases, delay holds the last returned value or returnsMissingValue
(if specified).
DelayTime
agopublic static final VariableDelay.Type INFORMATION_DELAY
- Delay represents a channel of length
DelayTime
with input and output. - At the moment when
DelayTime
increases, the input part of channel is extended and instantly filled by the last input value of delay. - At the moment when
DelayTime
decreases, the input part of required cutback of the channel is trimmed, and samples contained in this part are discarded.
delayTime
changes,
there is a period when output of the function is
not equal to its input received DelayTime
agopublic static final VariableDelay.Type MATERIAL_DELAY
- Delay represents a channel of length
DelayTime
with input and output. - At the moment when
DelayTime
increases, the input part of channel is extended and instantly filled withMissingValue
-samples. - At the moment when
DelayTime
decreases, the input part of required cutback of the channel is cut and taken from the channel, and samples contained in this part and sequentially added to the next inputs.
Note if there areMissingValue
-samples in this "cut and taken" part, they aren't added to the inputs.
delayTime
changes,
there is a period when output of the function is
not equal to its input received DelayTime
agopublic static VariableDelay.Type[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (VariableDelay.Type c : VariableDelay.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
public static VariableDelay.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
How can we improve this article?
-