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.
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 |
Splus
public Splus(Simulation simulation)
- Class constructor specifying simulation
- Parameters:
simulation
- reference to simulation object- Throws:
NullPointerException
- if simulation object is null
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)
Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.