|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cesr.sesamgim.util.GUpdatableContextStructure
public class GUpdatableContextStructure
This class is the data storage back-end for a climate / weather data. It is adapted to Microm (R) Milieu data.
| Field Summary | |
|---|---|
protected int |
numHHSizes
Number of HH size classes |
protected int |
numMilieus
number of different milieu types |
protected int |
numYears
Number of data rows along time dimension |
| Constructor Summary | |
|---|---|
GUpdatableContextStructure()
Initialize this cell structure |
|
| Method Summary | |
|---|---|
double |
getAverrageHHSize(int year)
|
int |
getDominantMilieu(int year)
|
int |
getHH(Calendar cal,
int milieuGroup,
int hhSize)
NOTE: To match a certain year in the data you need to specified the last day of that year for the cal object! |
int |
getHH(int year,
int milieuGroup,
int hhSize)
Provides the number of households of the given household size of the given milieu group in the given year. |
void |
setHH(int year,
int milieuGroup,
int hhSize,
int numHH)
Set the data |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int numYears
protected int numMilieus
protected int numHHSizes
| Constructor Detail |
|---|
public GUpdatableContextStructure()
| Method Detail |
|---|
public void setHH(int year,
int milieuGroup,
int hhSize,
int numHH)
year - milieu - hhSize - numHH -
public int getHH(int year,
int milieuGroup,
int hhSize)
year - milieuGroup - hhSize -
public int getHH(Calendar cal,
int milieuGroup,
int hhSize)
cal - milieuGroup - hhSize -
public int getDominantMilieu(int year)
year -
public double getAverrageHHSize(int year)
year -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||