Class MapCoverage
java.lang.Object
nz.org.riskscape.engine.function.BaseRealizableFunction
nz.org.riskscape.defaults.function.MapCoverage
- All Implemented Interfaces:
nz.org.riskscape.engine.rl.RealizableFunction
public class MapCoverage
extends nz.org.riskscape.engine.function.BaseRealizableFunction
Function that applies a mapping expression to values sampled from the given coverage. This lets you perform simple conversions, e.g. changing the units from centimetres to metres.
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.rl.RealizableFunction
nz.org.riskscape.engine.rl.RealizableFunction.MetadataIdentifiedRealizableFunction
-
Field Summary
Fields inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
arguments, returnType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.RiskscapeFunction>
realize
(nz.org.riskscape.engine.rl.RealizationContext context, nz.org.riskscape.rl.ast.FunctionCall functionCall, List<nz.org.riskscape.engine.types.Type> argumentTypes) Methods inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
asFunction, build, builtin, getArguments, getReturnType, identified
-
Constructor Details
-
MapCoverage
public MapCoverage()
-
-
Method Details
-
realize
public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.RiskscapeFunction> realize(nz.org.riskscape.engine.rl.RealizationContext context, nz.org.riskscape.rl.ast.FunctionCall functionCall, List<nz.org.riskscape.engine.types.Type> argumentTypes) - Specified by:
realize
in interfacenz.org.riskscape.engine.rl.RealizableFunction
- Overrides:
realize
in classnz.org.riskscape.engine.function.BaseRealizableFunction
-