public class NonRandomRespondent extends AbstractRespondent
| Modifier and Type | Field and Description |
|---|---|
protected Map<Question,SurveyDatum> |
answers |
protected Map<SurveyDatum,Double> |
strength |
LOGGER, rng| Constructor and Description |
|---|
NonRandomRespondent(Survey survey) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRespondent |
copy()
Returns a copy of this respondent type.
|
SurveyResponse |
getResponse()
Method to obtain the simulated survey response for the survey that this respondent was instantiated with.
|
generateStringComponent, getDenominatorprotected Map<Question,SurveyDatum> answers
protected Map<SurveyDatum,Double> strength
public NonRandomRespondent(Survey survey)
public SurveyResponse getResponse()
AbstractRespondentgetResponse in class AbstractRespondentpublic AbstractRespondent copy()
AbstractRespondentcopy in class AbstractRespondentCopyright © 2015. All rights reserved.