|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp3j.pppm.parameters.ParameterAssignmentSet
public class ParameterAssignmentSet
Stores a set of parameter assignments. This is a somewhat artificial class that is solely required for a clean object-relational mapping. Created: August 18, 2008
Constructor Summary | |
---|---|
ParameterAssignmentSet()
|
Method Summary | |
---|---|
void |
add(ParameterAssignment paramAssignment)
Adds a parameter assignment to the set. |
List<GeneratorError> |
adjustProbability()
Adjusts probability using the RandomNumberChecks singleton. |
Set<ParameterAssignment> |
getAssignments()
|
int |
getID()
|
double |
getProbabilitySum()
Sums up the probabilities of all assignments. |
void |
remove(ParameterAssignment paramAssignment)
Removes the parameter assignment from the set. |
void |
setAssignments(Set<ParameterAssignment> assignments)
|
void |
setID(int uniqueID)
|
int |
size()
Get size of the set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterAssignmentSet()
Method Detail |
---|
public double getProbabilitySum()
public List<GeneratorError> adjustProbability()
RandomNumberChecks
singleton.
public Set<ParameterAssignment> getAssignments()
public void setAssignments(Set<ParameterAssignment> assignments)
public int getID()
public void setID(int uniqueID)
public void add(ParameterAssignment paramAssignment)
paramAssignment
- the parameter assignment to be addedpublic void remove(ParameterAssignment paramAssignment)
paramAssignment
- the parameter assignment to be removedpublic int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |