|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp3j.pppm.parameters.ParameterInstance
public class ParameterInstance
Represents a parameter instance for the PPPM. This 'instantiates' a
Parameter
(which might be generation dependent) for a certain
generation. Apart from that, this class also defines a comparison index,
which is mostly defined for interaction with the user. For example, all
parameter instances regarding the second generation of emigrants should be
shown in the GUI before the parameters of the third generation of emigrants,
and so on.
Created on August 7, 2006
Constructor Summary | |
---|---|
ParameterInstance()
Constructor for bean compatibility. |
|
ParameterInstance(int cIndex,
Parameter param)
Constructor for general parameters. |
|
ParameterInstance(int cIndex,
Parameter param,
int gen)
Default constructor. |
Method Summary | |
---|---|
Matrix2D |
createEmptyValue()
Creates empty matrix with the dimensions as specified by this parameter instance. |
int |
getComparisonIndex()
|
int |
getGeneration()
|
int |
getID()
|
Parameter |
getParameter()
|
MatrixDimension |
getValueHeight()
Gets the value height. |
MatrixDimension |
getValueWidth()
Gets the value width. |
void |
setComparisonIndex(int comparisonIndex)
|
void |
setGeneration(int generation)
|
void |
setID(int uniqueID)
|
void |
setParameter(Parameter parameter)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParameterInstance(int cIndex, Parameter param, int gen)
cIndex
- the comparison indexparam
- the parameter that is instantiatedgen
- the generation this parameter belongs topublic ParameterInstance()
public ParameterInstance(int cIndex, Parameter param)
cIndex
- the comparison indexparam
- the parameter that is instantiatedMethod Detail |
---|
public Matrix2D createEmptyValue()
public String toString()
toString
in class Object
public MatrixDimension getValueWidth()
public MatrixDimension getValueHeight()
public int getComparisonIndex()
public void setComparisonIndex(int comparisonIndex)
public int getGeneration()
public void setGeneration(int generation)
public Parameter getParameter()
public void setParameter(Parameter parameter)
public int getID()
public void setID(int uniqueID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |