Class BigR2Array

java.lang.Object
org.drip.spaces.big.BigR2Array

public abstract class BigR2Array
extends java.lang.Object
BigR2Array contains an Implementation Navigation and Processing Algorithms for Big Double R2 Arrays. It provides the following Functionality:
  • BigR2Array Constructor
  • Compute the Path Response Associated with all the Nodes in the Path up to the Current One
  • Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Top Left Node
  • Retrieve the Length of the X R1 Array
  • Retrieve the Length of the Y R1 Array
  • Retrieve the R2 Instance Array
  • Validate the Specified Index Pair
  • Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Current Node

Module Computational Core Module
Library Statistical Learning Library
Project R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes
Package Big-data In-place Manipulator
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    BigR2Array​(double[][] r2Grid)
    BigR2Array Constructor
  • Method Summary

    Modifier and Type Method Description
    double[][] instance()
    Retrieve the R2 Instance Array
    abstract double maxPathResponse()
    Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Top Left Node.
    double maxPathResponse​(int x, int y, double priorPathResponse)
    Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Current Node.
    abstract double pathResponse​(int x, int y, double priorPathResponse)
    Compute the Path Response Associated with all the Nodes in the Path up to the Current One.
    boolean validateIndex​(int x, int y)
    Validate the Specified Index Pair.
    int xLength()
    Retrieve the Length of the X R1 Array
    int yLength()
    Retrieve the Length of the Y R1 Array

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BigR2Array

      public BigR2Array​(double[][] r2Grid) throws java.lang.Exception
      BigR2Array Constructor
      Parameters:
      r2Grid - 2D Big Array Grid Input
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • xLength

      public int xLength()
      Retrieve the Length of the X R1 Array
      Returns:
      The Length of the X R1 Array
    • yLength

      public int yLength()
      Retrieve the Length of the Y R1 Array
      Returns:
      The Length of the Y R1 Array
    • instance

      public double[][] instance()
      Retrieve the R2 Instance Array
      Returns:
      The R2 Instance Array
    • pathResponse

      public abstract double pathResponse​(int x, int y, double priorPathResponse) throws java.lang.Exception
      Compute the Path Response Associated with all the Nodes in the Path up to the Current One.
      Parameters:
      x - The Current X Node
      y - The Current Y Node
      priorPathResponse - The Path Product Associated with the Given Prior Navigation Sequence
      Returns:
      The Path Response
      Throws:
      java.lang.Exception - Thrown if Inputs are Invalid
    • maxPathResponse

      public abstract double maxPathResponse() throws java.lang.Exception
      Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Top Left Node.
      Returns:
      The Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Current Node
      Throws:
      java.lang.Exception - Thrown if Inputs are Invalid
    • validateIndex

      public boolean validateIndex​(int x, int y)
      Validate the Specified Index Pair.
      Parameters:
      x - The Current X Node
      y - The Current Y Node
      Returns:
      TRUE - The Index Pair is Valid
    • maxPathResponse

      public double maxPathResponse​(int x, int y, double priorPathResponse) throws java.lang.Exception
      Compute the Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Current Node.
      Parameters:
      x - The Current X Node
      y - The Current Y Node
      priorPathResponse - The Path Response Associated with the Given Prior Navigation Sequence
      Returns:
      The Maximum Response Associated with all the Left/Right Adjacent Paths starting from the Current Node
      Throws:
      java.lang.Exception - Thrown if Inputs are Invalid