Class DataGenCPInstruction

All Implemented Interfaces:
LineageTraceable

public class DataGenCPInstruction extends UnaryCPInstruction
  • Constructor Details

  • Method Details

    • getRows

      public long getRows()
    • getCols

      public long getCols()
    • getDims

      public String getDims()
    • getDimsOperand

      public CPOperand getDimsOperand()
    • getBlocksize

      public int getBlocksize()
    • getMinValue

      public double getMinValue()
    • getMaxValue

      public double getMaxValue()
    • getSparsity

      public double getSparsity()
    • getPdf

      public String getPdf()
    • getPdfParams

      public String getPdfParams()
    • getSeed

      public long getSeed()
    • isOnesCol

      public boolean isOnesCol()
    • isMatrixCall

      public boolean isMatrixCall()
    • getFrom

      public long getFrom()
    • getTo

      public long getTo()
    • getIncr

      public long getIncr()
    • parseInstruction

      public static DataGenCPInstruction parseInstruction(String str)
    • processInstruction

      public void processInstruction(ExecutionContext ec)
      Description copied from class: Instruction
      This method should be used to execute the instruction.
      Specified by:
      processInstruction in class CPInstruction
      Parameters:
      ec - execution context
    • getLineageItem

      public org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
      Description copied from interface: LineageTraceable
      Obtain lineage trace of an instruction with a single output.
      Specified by:
      getLineageItem in interface LineageTraceable
      Overrides:
      getLineageItem in class ComputationCPInstruction
      Parameters:
      ec - execution context w/ live variables
      Returns:
      pair of (output variable name, output lineage item)