public class ParameterAssignmentSet extends Object implements Serializable
Constructor and Description |
---|
ParameterAssignmentSet() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2013. All Rights Reserved.