|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbe.eve.simulator.DataStorage
public class DataStorage
| Field Summary | |
|---|---|
private static DataStorage |
instance
|
(package private) static org.apache.log4j.Logger |
logger
|
(package private) EvEModel |
model
|
(package private) java.util.Vector |
networkFitness
|
(package private) java.util.Vector |
networkRunSMEData
|
| Constructor Summary | |
|---|---|
private |
DataStorage()
Empty constructor (Signelton) |
| Method Summary | |
|---|---|
static DataStorage |
getInstance()
Singelton to ensure that only one Instance exsist |
java.util.Vector |
getNetworkFitness()
returns a Vector which stores the fitness values of all runs |
java.util.Vector |
getNetworkRunSMEData()
returns a Vector with the Fitness of each SME in each run. |
void |
saveDataStoreageToFile(java.lang.String fileName)
saves the outcome of the simulation into an .csv File |
private void |
setModel(EvEModel model)
|
void |
storeRunData(EvEModel model)
stores the information of each run which is needed to analyses the behaviour of the network for more than one run |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
EvEModel model
java.util.Vector networkFitness
java.util.Vector networkRunSMEData
private static DataStorage instance
static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
private DataStorage()
| Method Detail |
|---|
public static DataStorage getInstance()
private void setModel(EvEModel model)
public void storeRunData(EvEModel model)
runData - networkFitness - public java.util.Vector getNetworkFitness()
public java.util.Vector getNetworkRunSMEData()
public void saveDataStoreageToFile(java.lang.String fileName)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||