@Beta public class InstanceClassificationMap extends ClassificationMap<String> implements HasEntityIdRanking, HasClusterId, HasAffinityRanking, HasClusterAffinity
ClassificationMap.TypeAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
InstanceClassificationMap(ClassificationMap.Type type,
Object result) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getAffinity(String id) |
List<Double> |
getAffinityRanking() |
Double |
getClusterAffinity() |
String |
getClusterId() |
String |
getEntityId() |
List<String> |
getEntityIdRanking() |
Object |
getResult() |
getType, normalize, normalizeSoftMax, subtract, sumclear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringprotected InstanceClassificationMap(ClassificationMap.Type type, Object result)
public Object getResult()
getResult in interface ComputablegetResult in class ClassificationMap<String>public String getEntityId()
getEntityId in interface HasEntityIdpublic List<String> getEntityIdRanking()
getEntityIdRanking in interface HasEntityIdRankingpublic String getClusterId()
getClusterId in interface HasClusterIdpublic Double getAffinity(String id)
getAffinity in interface HasAffinitypublic List<Double> getAffinityRanking()
getAffinityRanking in interface HasAffinityRankingpublic Double getClusterAffinity()
getClusterAffinity in interface HasClusterAffinityCopyright © 2014. All Rights Reserved.