Package fr.ifremer.isisfish.datastore
Class ResultMappedStorage
java.lang.Object
fr.ifremer.isisfish.datastore.ResultStorageAbstract
fr.ifremer.isisfish.datastore.ResultMappedStorage
- All Implemented Interfaces:
ResultStorage
,SimulationListener
,SimulationResultGetter
,SimulationResultListener
Deprecated.
Cette classe permet de conserver des résultats de simulation. Elle permet
ensuite de les récupérer.
Created: 31 aout 2012
- Version:
- $Revision$ Mise a jour: $Date$ par : $Author$
- Author:
- Benjamin Poussin : poussin@codelutin.com
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Deprecated.Represente un resultat Lors de la construction, si on ne passe que le RandomAccessFile et l'offset, on relie un resultat si on passe toutes les infos, on ecrit le resultat. -
Field Summary
Modifier and TypeFieldDescriptionprotected org.nuiton.math.matrix.MatrixFactory
Deprecated.protected Map<String,
Map<TimeStep, ResultMappedStorage.ResultMapped>> Deprecated.protected long
Deprecated.protected RandomAccessFile
Deprecated.Fields inherited from class fr.ifremer.isisfish.datastore.ResultStorageAbstract
decorator, enabledResult, simulation
-
Constructor Summary
ConstructorDescriptionResultMappedStorage
(SimulationStorage simulation) Deprecated.Les ResultStorage ne doivent pas etre instancier directement, mais recuperer a partir d'unSimulationStorage.getResultStorage()
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.Close result storage.void
delete()
Deprecated.Delete all result for this result storage.protected void
finalize()
Deprecated.protected org.nuiton.math.matrix.MatrixFactory
Deprecated.sub class can overwrite this method to return specifique factoryprotected Map<TimeStep,
ResultMappedStorage.ResultMapped> Deprecated.Deprecated.Retourne la liste de tous les résultats.protected org.nuiton.math.matrix.MatrixND
readResult
(TimeStep step, String name) Deprecated.Return one result for step and name.protected void
Deprecated.Methode interne pour que les deux Map soit mise a jour en meme temps C'est la seul methode qui permet d'ajouter des noms de result dans les Mapprotected 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, decorate, doAddResult, getInfo, getLastStep, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getMatrix, getProvider, isEnabled, stepChange, undecorate, undecorate, undecorate
-
Field Details
-
matrixFactory
protected org.nuiton.math.matrix.MatrixFactory matrixFactoryDeprecated. -
raf
Deprecated. -
offset
protected long offsetDeprecated. -
nameStepResults
Deprecated.
-
-
Constructor Details
-
ResultMappedStorage
Deprecated.Les ResultStorage ne doivent pas etre instancier directement, mais recuperer a partir d'unSimulationStorage.getResultStorage()
- Parameters:
simulation
- storage to get result- Throws:
IOException
-
-
Method Details
-
getMatrixFactory
protected org.nuiton.math.matrix.MatrixFactory getMatrixFactory()Deprecated.Description copied from class:ResultStorageAbstract
sub class can overwrite this method to return specifique factory- Overrides:
getMatrixFactory
in classResultStorageAbstract
- Returns:
-
finalize
Deprecated. -
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
-
close
public void close()Deprecated.Description copied from interface:ResultStorage
Close result storage.- Specified by:
close
in interfaceResultStorage
- Overrides:
close
in classResultStorageAbstract
-
storeResult
Deprecated.Methode interne pour que les deux Map soit mise a jour en meme temps C'est la seul methode qui permet d'ajouter des noms de result dans les Map- Parameters:
r
-
-
getResult
Deprecated. -
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:
-
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.Retourne la liste de tous les résultats. Si le résultat est categorisé par une population alors le nom de la population est automatiquement ajouté au nom du résultat.- Specified by:
getResultName
in interfaceResultStorage
- Specified by:
getResultName
in classResultStorageAbstract
-
ResultStorageCSV
replace this implementation. This class will be remove in 5.0.0.0