Class BaseSamplingFunction

java.lang.Object
nz.org.riskscape.engine.function.geometry.BaseSamplingFunction
All Implemented Interfaces:
AutoCloseable, nz.org.riskscape.engine.function.RiskscapeFunction, nz.org.riskscape.engine.function.UntypedFunction, nz.org.riskscape.engine.rl.RealizableFunction
Direct Known Subclasses:
SampleCoverage, SampleCoverageAtCentroid

public abstract class BaseSamplingFunction extends Object implements nz.org.riskscape.engine.function.RiskscapeFunction, nz.org.riskscape.engine.rl.RealizableFunction
  • 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 interface nz.org.riskscape.engine.function.RiskscapeFunction

    BUILT_IN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    call(List<Object> args)
     
    nz.org.riskscape.engine.function.ArgumentList
     
    List<nz.org.riskscape.engine.types.Type>
     
    nz.org.riskscape.engine.types.Type
     
    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> realizeTypes)
     
    protected abstract 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, nz.org.riskscape.engine.types.Geom geomType, nz.org.riskscape.engine.types.CoverageType coverageType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction

    builtin, getAggregationFunction, getOverloaded, getRealizable, getTypesFromArguments, identified, identified, isA, setProblemReporter, validate

    Methods inherited from interface nz.org.riskscape.engine.function.UntypedFunction

    close
  • Constructor Details

    • BaseSamplingFunction

      public BaseSamplingFunction()
  • Method Details

    • call

      public Object call(List<Object> args)
      Specified by:
      call in interface nz.org.riskscape.engine.function.UntypedFunction
    • getReturnType

      public nz.org.riskscape.engine.types.Type getReturnType()
      Specified by:
      getReturnType in interface nz.org.riskscape.engine.function.RiskscapeFunction
    • 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> realizeTypes)
      Specified by:
      realize in interface nz.org.riskscape.engine.rl.RealizableFunction
    • realize

      protected abstract 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, nz.org.riskscape.engine.types.Geom geomType, nz.org.riskscape.engine.types.CoverageType coverageType)
    • getArguments

      public nz.org.riskscape.engine.function.ArgumentList getArguments()
      Specified by:
      getArguments in interface nz.org.riskscape.engine.function.RiskscapeFunction
    • getArgumentTypes

      public List<nz.org.riskscape.engine.types.Type> getArgumentTypes()
      Specified by:
      getArgumentTypes in interface nz.org.riskscape.engine.function.RiskscapeFunction