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, getDenominator
protected Map<Question,SurveyDatum> answers
protected Map<SurveyDatum,Double> strength
public NonRandomRespondent(Survey survey)
public SurveyResponse getResponse()
AbstractRespondent
getResponse
in class AbstractRespondent
public AbstractRespondent copy()
AbstractRespondent
copy
in class AbstractRespondent
Copyright © 2015. All rights reserved.