public class MutableClusteringInfo extends ClusteringInfo implements MutableOutputInfo<ClusterID>
ClusteringInfo
. Can record new observations of ClusterID
s, incrementing the
appropriate counts.clusterCounts, unknownCount
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the OutputInfo, removing all things it's observed.
|
MutableClusteringInfo |
copy()
Generates a copy of this OutputInfo, including it's mutability.
|
void |
observe(ClusterID output)
Records an output value or statistics thereof.
|
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getUnknownCount, outputCountsIterable, size, toReadableString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateImmutableOutputInfo, generateMutableOutputInfo, getDomain, getUnknownCount, outputCountsIterable, size, toReadableString
public void observe(ClusterID output)
MutableOutputInfo
observe
in interface MutableOutputInfo<ClusterID>
output
- The observed output.public void clear()
MutableOutputInfo
clear
in interface MutableOutputInfo<ClusterID>
public MutableClusteringInfo copy()
OutputInfo
copy
in interface OutputInfo<ClusterID>
copy
in class ClusteringInfo
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.