Class ZombieMatrix

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

public class ZombieMatrix
extends java.lang.Object
ZombieMatrix implements a Zombie Adjacency Migration. It provides the following Functionality:
  • ZombieMatrix Constructor
  • Retrieve the Uninfected Cell Set
  • Retrieve the Row Count
  • Retrieve the Column Count
  • Compute the Period for Full Infection

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
    ZombieMatrix​(boolean[][] matrix)
    ZombieMatrix Constructor
  • Method Summary

    Modifier and Type Method Description
    int columnCount()
    Retrieve the Column Count
    int infectionPeriod()
    Compute the Period for Full Infection
    int rowCount()
    Retrieve the Row Count
    java.util.Set<java.lang.Integer> uninfectedCellSet()
    Retrieve the Uninfected Cell Set

    Methods inherited from class java.lang.Object

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

    • ZombieMatrix

      public ZombieMatrix​(boolean[][] matrix) throws java.lang.Exception
      ZombieMatrix Constructor
      Parameters:
      matrix - Zombie Matrix Grid
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • uninfectedCellSet

      public java.util.Set<java.lang.Integer> uninfectedCellSet()
      Retrieve the Uninfected Cell Set
      Returns:
      The Uninfected Cell Set
    • rowCount

      public int rowCount()
      Retrieve the Row Count
      Returns:
      The Row Count
    • columnCount

      public int columnCount()
      Retrieve the Column Count
      Returns:
      The Column Count
    • infectionPeriod

      public int infectionPeriod()
      Compute the Period for Full Infection
      Returns:
      The Period for Full Infection