|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sha.earthquake.rupForecastImpl.WGCEP_UCERF_2_Final.analysis.ParamOptions
public class ParamOptions
Various parameter values and their corresponding weights. This class is used to find various logic tree branches and the corresponding weights.
| Constructor Summary | |
|---|---|
ParamOptions()
|
|
| Method Summary | |
|---|---|
void |
addValueWeight(Object value,
double weight)
Add a value and weight for this parameter |
int |
getNumValues()
Number of different options for this parameter |
Object |
getValue(int index)
Get the value at specified index |
double |
getWeight(int index)
Get the weight at specified index |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParamOptions()
| Method Detail |
|---|
public void addValueWeight(Object value,
double weight)
value - weight - public int getNumValues()
public Object getValue(int index)
index -
public double getWeight(int index)
index -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||