misc
Class MatrixOperation

java.lang.Object
  extended by misc.MatrixOperation

public class MatrixOperation
extends java.lang.Object

The Class MatrixOperation.

Author:
Kevin Pucknat

Constructor Summary
MatrixOperation(PetriNet pn)
          Instantiates a new matrix operation.
 
Method Summary
 double[][] getBMatrix()
          Gets the backward matrix.
 int[][] getBMatrixInt()
          Gets the int backward matrix.
 double[][] getFMatrix()
          Gets the forward matrix.
 int[][] getFMatrixInt()
          Gets the int forward matrix.
 pipe.analysis.Matrix getIncidenceMatrix()
          Gets the incidence matrix.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixOperation

public MatrixOperation(PetriNet pn)
Instantiates a new matrix operation.

Parameters:
pn - the pn
Method Detail

getFMatrix

public double[][] getFMatrix()
Gets the forward matrix.

Returns:
the f matrix

getFMatrixInt

public int[][] getFMatrixInt()
Gets the int forward matrix.

Returns:
the f matrix int

getBMatrix

public double[][] getBMatrix()
Gets the backward matrix.

Returns:
the b matrix

getBMatrixInt

public int[][] getBMatrixInt()
Gets the int backward matrix.

Returns:
the b matrix int

getIncidenceMatrix

public pipe.analysis.Matrix getIncidenceMatrix()
Gets the incidence matrix.

Returns:
the incidence matrix