@FunctionalInterface public interface IgniteModel<T,V> extends Model<T,V>, Serializable
Modifier and Type | Method and Description |
---|---|
default <V1> IgniteModel<V1,V> |
andBefore(IgniteFunction<V1,T> before)
Get a composition model of the form
x -> mdl(before(x)) . |
default <V1> IgniteModel<T,V1> |
andThen(IgniteFunction<V,V1> after)
Get a composition model of the form
x -> after(mdl(x)) . |
default <V1> IgniteModel<T,V1> |
andThen(IgniteModel<V,V1> after)
Get a composition model of the form
x -> after(mdl(x)) . |
default void |
close() |
default <X,W> IgniteModel<T,X> |
combine(IgniteModel<T,W> other,
BiFunction<V,W,X> combiner)
Combines this model with other model via specified combiner
|
default String |
toString(boolean pretty) |
default <X,W> IgniteModel<T,X> combine(IgniteModel<T,W> other, BiFunction<V,W,X> combiner)
other
- Other model.combiner
- Combiner.default <V1> IgniteModel<T,V1> andThen(IgniteModel<V,V1> after)
x -> after(mdl(x))
.V1
- Type of output of function applied after this model.after
- Model to apply after this model.x -> after(mdl(x))
.default <V1> IgniteModel<T,V1> andThen(IgniteFunction<V,V1> after)
x -> after(mdl(x))
.V1
- Type of input of function applied before this model.after
- Function to apply after this model.x -> after(mdl(x))
.default <V1> IgniteModel<V1,V> andBefore(IgniteFunction<V1,T> before)
x -> mdl(before(x))
.V1
- Type of input of function applied before this model.before
- Function to apply before this model.x -> after(mdl(x))
.default String toString(boolean pretty)
pretty
- Use pretty mode.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024