Serializable
, Comparable<FilterType>
public enum FilterType extends Enum<FilterType>
filtering events
.Enum Constant | Description |
---|---|
TRIGGER_ONLY_DECREASING_EVENTS |
Constant for triggering only decreasing events.
|
TRIGGER_ONLY_INCREASING_EVENTS |
Constant for triggering only increasing events.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract boolean |
getTriggeredIncreasing() |
Get the increasing status of triggered events.
|
protected abstract org.hipparchus.ode.events.Transformer |
selectTransformer(org.hipparchus.ode.events.Transformer previous,
double g,
boolean forward) |
Get next function transformer in the specified direction.
|
static FilterType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterType TRIGGER_ONLY_DECREASING_EVENTS
When this filter is used, the wrapped event handler
eventOccurred
method will be called only with
its increasing
argument set to false.
public static final FilterType TRIGGER_ONLY_INCREASING_EVENTS
When this filter is used, the wrapped event handler
eventOccurred
method will be called only with
its increasing
argument set to true.
public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract boolean getTriggeredIncreasing()
protected abstract org.hipparchus.ode.events.Transformer selectTransformer(org.hipparchus.ode.events.Transformer previous, double g, boolean forward)
previous
- transformer active on the previous point with respect
to integration direction (may be null if no previous point is known)g
- current value of the g functionforward
- true if integration goes forwardCopyright © 2016–2018 Hipparchus.org. All rights reserved.