Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions gama.core/src/gama/core/common/interfaces/IKeyword.java
Original file line number Diff line number Diff line change
Expand Up @@ -947,9 +947,6 @@ public interface IKeyword {
/** The save. */
String SAVE = "save";

/** The save batch. */
String SAVE_BATCH = "save_batch";

/** The scale. */
String SCALE = "scale";

Expand Down
71 changes: 0 additions & 71 deletions gama.core/src/gama/core/kernel/batch/BatchOutput.java

This file was deleted.

23 changes: 0 additions & 23 deletions gama.core/src/gama/core/kernel/experiment/ExperimentPlan.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import gama.core.common.IStatusMessage;
import gama.core.common.interfaces.IKeyword;
import gama.core.common.preferences.GamaPreferences;
import gama.core.kernel.batch.BatchOutput;
import gama.core.kernel.batch.IExploration;
import gama.core.kernel.batch.exploration.Exploration;
import gama.core.kernel.experiment.ExperimentPlan.BatchValidator;
Expand Down Expand Up @@ -628,7 +627,6 @@ protected void addDefaultParameters() {
public void setChildren(final Iterable<? extends ISymbol> children) {
super.setChildren(children);

BatchOutput fileOutputDescription = null;
LayoutStatement layout = null;
for (final ISymbol s : children) {
switch (s) {
Expand All @@ -646,9 +644,6 @@ public void setChildren(final Iterable<? extends ISymbol> children) {
case IExploration ie:
exploration = ie;
break;
case BatchOutput bo:
fileOutputDescription = bo;
break;
case SimulationOutputManager som: {
if (originalSimulationOutputs != null) {
originalSimulationOutputs.setChildren(som);
Expand Down Expand Up @@ -693,27 +688,9 @@ public void setChildren(final Iterable<? extends ISymbol> children) {
experimentOutputs.setLayout(originalSimulationOutputs.getLayout());
}
}
if (fileOutputDescription != null) { createOutput(fileOutputDescription); }
displayables.addAll(getUserCommands());
}

/**
* Creates the output.
*
* @param output
* the output
* @throws GamaRuntimeException
* the gama runtime exception
*/
private void createOutput(final BatchOutput output) throws GamaRuntimeException {
// TODO revoir tout ceci. Devrait plut�t �tre une commande
if (output == null) return;
IExpression data = output.getFacet(IKeyword.DATA);
if (data == null) { data = exploration.getOutputs(); }
if (data == null) {} else {
data.serializeToGaml(false);
}
}

/**
* Open.
Expand Down