Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## pipe.modules.simulation
Class Simulation

    java.lang.Object
      pipe.modules.simulation.Simulation

All Implemented Interfaces:
  Module

public class Simulation
extends java.lang.Object
implements Module

Field Summary
`private javax.swing.JTextField` | `jtfCycles`
`private javax.swing.JTextField` | `jtfFirings`
`private static java.lang.String` | `MODULE_NAME`
`private ResultsHTMLPane` | `results`
`(package private) java.awt.event.ActionListener` | `simulateButtonClick` Simulate button click handler
`private PetriNetChooserPanel` | `sourceFilePanel`

Constructor Summary
`Simulation()`

Method Summary
`private void` | `addTotal(int[] array, int[] dest)`
`java.lang.String` | `getName()`
`void` | `run(DataLayer pnmlData)`
`(package private) java.lang.String` | `simulate(DataLayer data, int cycles, int firings)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MODULE_NAME

    private static final java.lang.String MODULE_NAME

See Also:
  Constant Field Values

### sourceFilePanel

    private PetriNetChooserPanel sourceFilePanel

### results

    private ResultsHTMLPane results

### jtfFirings

    private javax.swing.JTextField jtfFirings

### jtfCycles

    private javax.swing.JTextField jtfCycles

### simulateButtonClick

    java.awt.event.ActionListener simulateButtonClick

  Simulate button click handler

Constructor Detail

### Simulation

    public Simulation()

Method Detail

### run

    public void run(DataLayer pnmlData)

  Specified by:
    `run` in interface `Module`

### getName

    public java.lang.String getName()

  Specified by:
    `getName` in interface `Module`

### simulate

    java.lang.String simulate(DataLayer data,
                              int cycles,
                              int firings)

### addTotal

    private void addTotal(int[] array,
                          int[] dest)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD