| org.cougaar.tools.csmart.experiment.ExperimentBase org.cougaar.tools.csmart.experiment.DBExperiment
DBExperiment | final public class DBExperiment extends ExperimentBase (Code) | | A CSMART Experiment. Holds the components being run, and the configuration of host/node/agents.
|
copy | public ModifiableComponent copy(String uniqueName)(Code) | | Return a deep copy of the experiment.
Called when an experiment is selected in the organizer.
Add experiments and society to workspace.
the copy of the experiment. |
dumpHNA | public void dumpHNA()(Code) | | Dumps a Host / Node / Agent mapping to an XML file.
The stored file can then be imported at a later date
to re-create all mappings in the current experiment.
|
dumpINIFiles | public void dumpINIFiles()(Code) | | Dump out the INI files for the first trial to
the local results directory for that trial.
This saves the experiment to the database.
The caller is responsible for not unnecessarily
saving the experiment to the database.
|
generateCompleteSociety | public boolean generateCompleteSociety()(Code) | | Generate a complete ComponentData tree for the experiment
a boolean , true if any component was removed |
getSocietyComponentData | public ComponentData getSocietyComponentData()(Code) | | Get component data for the society in the experiment.
If the experiment is not in the database, then it
constructs the society component data here.
ComponentData the component data for the society |
hasUnboundProperties | public boolean hasUnboundProperties()(Code) | | If the experiment has still unbound properties,
then we can't run it yet.
For each property in the experiment, if it is not set,
and we don't have a set of experimental values, return true;
a boolean value |
save | public void save(DBConflictHandler ch)(Code) | | Save the experiment to the database, regardless of
whether or not it's been modified.
To avoid useless saves, the caller should check the modified
flag with isModified. This method specifically does not check
the modified flag to allow the user to force saving the experiment.
If the experiment has been modified, save it to the database.
This creates the full ComponentData tree and then uses
PopulateDb to save it to the database
Parameters: ch - a DBConflictHandler to graphically handle conflicts See Also: org.cougaar.tools.csmart.core.db.PopulateDb |
setDefaultNodeArguments | protected void setDefaultNodeArguments()(Code) | | |
setName | public void setName(String newName)(Code) | | Sets the Name of this Component.
Parameters: newName - - New Component Name |
|
|