public class PathFrequencyMap extends HashMap<SurveyPath,ArrayList<SurveyResponse>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PathFrequencyMap() |
| Modifier and Type | Method and Description |
|---|---|
static PathFrequencyMap |
makeFrequenciesForPaths(List<SurveyPath> paths,
List<? extends SurveyResponse> responses)
Returns the counts for each path; see @etosch's blog post on the calculation.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic static PathFrequencyMap makeFrequenciesForPaths(List<SurveyPath> paths, List<? extends SurveyResponse> responses)
paths - The list of list of blocks through the survey; can be obtained with getPaths or getDagresponses - The list of actual or simulated responses to the surveyCopyright © 2015. All rights reserved.