|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatalign.base.MainManager
public class MainManager
This is the central class in the information flow amongst classes. This class also manages the main thread that runs the MCMC.
Field Summary | |
---|---|
static java.lang.String[] |
alignmentTypes
Alignment formats in which StatAlign can generate output Implemented formats currently are StatAlign (our own format), Clustal, Fasta, Phylip, Nexus |
DataManager |
dataMan
Data manager that handles all input files. |
MainFrame |
frame
The main window of the program. |
java.lang.String |
fullPath
The full path of the input file from which we read the sequences. |
java.lang.String |
fullPathWithExtensions
After adding on extensions from ModelExtension objects. |
InputData |
inputData
Reference to all input data required to run StatAlign |
InputGUI |
inputgui
The graphical interface of the Input panel |
ModelExtManager |
modelExtMan
Manager for model extension plugins |
PostprocessManager |
postProcMan
This is the postprocess-manager of our program, which handles the postprocesses applied on the MCMC run. |
java.lang.Class<? extends SubstitutionModel>[] |
substModels
Array of substitution model classes that can be selected for an analysis. |
MainThread |
thread
Main (background) calculation thread of the application |
Constructor Summary | |
---|---|
MainManager(MainFrame frame)
A trivial constructor that only sets MainFrame and substModels. |
Method Summary | |
---|---|
void |
deactivateRNA()
|
void |
finished(int errorCode,
java.lang.Exception ex)
Called when the MCMC thread terminates, signals end of the process back to MainFrame. |
void |
init(java.util.ArrayList<java.lang.String> args)
Initialises submanagers after the command line has been processed. |
void |
start()
This function starts a new MCMC run. |
void |
startParallel(int noOfProcesses,
int rank)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public InputData inputData
public PostprocessManager postProcMan
public DataManager dataMan
public ModelExtManager modelExtMan
public java.lang.Class<? extends SubstitutionModel>[] substModels
public MainFrame frame
public InputGUI inputgui
public MainThread thread
public java.lang.String fullPath
public java.lang.String fullPathWithExtensions
public static java.lang.String[] alignmentTypes
Constructor Detail |
---|
public MainManager(MainFrame frame)
frame
- The owner of the MainManager, the main window of the graphical
interface.Method Detail |
---|
public void init(java.util.ArrayList<java.lang.String> args)
params
- plugin parameterspublic void start()
public void startParallel(int noOfProcesses, int rank)
public void finished(int errorCode, java.lang.Exception ex)
errorCode
- -1: error 0: completed 1: stopped after sampling 2: stopped before samplingpublic void deactivateRNA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |