Package fr.ifremer.isisfish.datastore
Class ResultStorageInMemory
java.lang.Object
fr.ifremer.isisfish.datastore.ResultStorageAbstract
fr.ifremer.isisfish.datastore.ResultStorageInMemory
- All Implemented Interfaces:
ResultStorage
,SimulationListener
,SimulationResultGetter
,SimulationResultListener
Deprecated.
ResultStorageCSV now support no storage and in memory usage, will be removed in version 5.0.0.0
Cette classe permet de conserver des résultats de simulation. Elle permet
ensuite de les récupérer. Les résultats sont stockés en mémoire.
Created: 29 sept. 2004
- Version:
- $Revision$ Mise a jour: $Date$ par : $Author$
- Author:
- Benjamin Poussin : poussin@codelutin.com
-
Field Summary
Fields inherited from class fr.ifremer.isisfish.datastore.ResultStorageAbstract
decorator, enabledResult, simulation
-
Constructor Summary
ConstructorDescriptionResultStorageInMemory
(SimulationStorage simulation) Deprecated.Les ResultStorage ne doivent pas etre instancier directement, mais recuperer a partir d'unSimulationStorage.getResultStorage()
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.nuiton.math.matrix.MatrixND
decorate
(org.nuiton.math.matrix.MatrixND mat, org.nuiton.topia.TopiaContext tx) Deprecated.void
delete()
Deprecated.Delete all result for this result storage.Deprecated.return list of all result name availableorg.nuiton.math.matrix.MatrixND
readResult
(TimeStep step, String name) Deprecated.Return one result for step and name.protected void
writeActiveRule
(TimeStep step, String name, String params) Deprecated.Write active ruleprotected void
writeResult
(TimeStep step, String name, org.nuiton.math.matrix.MatrixND mat) Deprecated.write resultMethods inherited from class fr.ifremer.isisfish.datastore.ResultStorageAbstract
addActiveRule, addResult, addResult, addResult, addResult, addResult, addResult, addResult, addResult, addResult, afterSimulation, beforeSimulation, close, doAddResult, getInfo, getLastStep, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrixFactory, getProvider, isEnabled, stepChange, undecorate, undecorate, undecorate
-
Field Details
-
MAX_TIME_STEP
Deprecated.- See Also:
-
maxTimeStep
protected int maxTimeStepDeprecated.
-
-
Constructor Details
-
ResultStorageInMemory
Deprecated.Les ResultStorage ne doivent pas etre instancier directement, mais recuperer a partir d'unSimulationStorage.getResultStorage()
- Parameters:
simulation
- storage to get result
-
-
Method Details
-
delete
public void delete()Deprecated.Description copied from interface:ResultStorage
Delete all result for this result storage. In case of sensitivity analysis, after export, result are no longer needed and can be deleted to save disk space.- Specified by:
delete
in interfaceResultStorage
- Overrides:
delete
in classResultStorageAbstract
-
decorate
protected org.nuiton.math.matrix.MatrixND decorate(org.nuiton.math.matrix.MatrixND mat, org.nuiton.topia.TopiaContext tx) Deprecated.- Overrides:
decorate
in classResultStorageAbstract
-
writeResult
Deprecated.Description copied from class:ResultStorageAbstract
write result- Specified by:
writeResult
in classResultStorageAbstract
-
writeActiveRule
Deprecated.Description copied from class:ResultStorageAbstract
Write active rule- Specified by:
writeActiveRule
in classResultStorageAbstract
-
getResultName
Deprecated.Description copied from class:ResultStorageAbstract
return list of all result name available- Specified by:
getResultName
in interfaceResultStorage
- Specified by:
getResultName
in classResultStorageAbstract
-
readResult
Deprecated.Description copied from class:ResultStorageAbstract
Return one result for step and name. Matrix returned must be undecorated (semantics must be string representation of object)- Specified by:
readResult
in classResultStorageAbstract
- Returns:
-