MDACC
Biostatistics

org.mdanderson.biostat.geneclust
Class Splus

java.lang.Object
  |
  +--org.mdanderson.biostat.geneclust.Splus
All Implemented Interfaces:
SplusKeys

public class Splus
extends Object
implements SplusKeys

Splus - Data processing portion of the application.


Fields inherited from interface org.mdanderson.biostat.geneclust.SplusKeys
EXEC_PSEUDO_TERMINAL, PROCESS_COMPLETED, PROCESS_DESTROYED, THREAD_JOINED, WAITING_FOR_PROCESS, WAITING_FOR_THREAD_JOIN
 
Constructor Summary
Splus(Simulation simulation)
          Class constructor specifying simulation
 
Method Summary
 void endSimulation()
          Ends the simulation by invoking simulation termination, and performs some thread management cleanup.
 void interrupt()
          Cuases the S-plus input required to interrupt the simulation to be written to the output stream.
 void runSimulation()
          Launches the S-plus external process, sets up process monitoring and logging threads, then writes the simulation input to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Splus

public Splus(Simulation simulation)
Class constructor specifying simulation
Parameters:
simulation - reference to simulation object
Throws:
NullPointerException - if simulation object is null
Method Detail

runSimulation

public void runSimulation()
                   throws Exception
Launches the S-plus external process, sets up process monitoring and logging threads, then writes the simulation input to the output stream.
Throws:
Exception - if anything goes wrong

interrupt

public void interrupt()
Cuases the S-plus input required to interrupt the simulation to be written to the output stream.
See Also:
Simulation.writeSplusInterrupt(java.io.BufferedWriter)

endSimulation

public void endSimulation()
Ends the simulation by invoking simulation termination, and performs some thread management cleanup.
See Also:
Simulation.writeSplusTermination(java.io.BufferedWriter)

MDACC
Biostatistics

Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.