Package decide

Class InputReader

java.lang.Object
decide.InputReader

public class InputReader extends Object
Class to read the input provided from a JSON file.
  • Constructor Details

    • InputReader

      public InputReader(String filePath)
      Constructor to the InputReader class.
      Parameters:
      filePath - the path to the JSON-file
  • Method Details

    • getNumPoints

      public int getNumPoints()
      A get-method for numPoints.
      Returns:
      numPoints
    • getPoints

      public ArrayList<Point2D> getPoints()
      A get-method for points.
      Returns:
      points
    • getParameters

      public Parameters getParameters()
      A get-method for parameters.
      Returns:
      parameters
    • getLogicalConnectorMatrix

      public String[][] getLogicalConnectorMatrix()
      A get-method for LCM.
      Returns:
      LCM
    • getPreliminaryUnlockingVector

      public boolean[] getPreliminaryUnlockingVector()
      A get-method for PUV.
      Returns:
      PUV