Package gov.nih.mipav.model.algorithms
Class CeresSolver2.CanonicalViewsClustering
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver2.CanonicalViewsClustering
-
- Enclosing class:
- CeresSolver2
class CeresSolver2.CanonicalViewsClustering extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CeresSolver.WeightedGraph<java.lang.Integer>
graph_
(package private) CeresSolver2.CanonicalViewsClusteringOptions
options_
(package private) java.util.HashMap<java.lang.Integer,java.lang.Integer>
view_to_canonical_view_
(package private) java.util.HashMap<java.lang.Integer,java.lang.Double>
view_to_canonical_view_similarity_
-
Constructor Summary
Constructors Constructor Description CanonicalViewsClustering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ComputeClustering(CeresSolver2.CanonicalViewsClusteringOptions options, CeresSolver.WeightedGraph<java.lang.Integer> graph, java.util.Vector<java.lang.Integer> centers, java.util.HashMap<java.lang.Integer,java.lang.Integer> membership)
private double
ComputeClusteringQualityDifference(int candidate, java.util.Vector<java.lang.Integer> centers)
private void
ComputeClusterMembership(java.util.Vector<java.lang.Integer> centers, java.util.HashMap<java.lang.Integer,java.lang.Integer> membership)
private void
FindValidViews(java.util.HashSet<java.lang.Integer> valid_views)
private void
UpdateCanonicalViewAssignments(int canonical_view)
-
-
-
Field Detail
-
options_
CeresSolver2.CanonicalViewsClusteringOptions options_
-
graph_
CeresSolver.WeightedGraph<java.lang.Integer> graph_
-
view_to_canonical_view_
java.util.HashMap<java.lang.Integer,java.lang.Integer> view_to_canonical_view_
-
view_to_canonical_view_similarity_
java.util.HashMap<java.lang.Integer,java.lang.Double> view_to_canonical_view_similarity_
-
-
Method Detail
-
ComputeClustering
public void ComputeClustering(CeresSolver2.CanonicalViewsClusteringOptions options, CeresSolver.WeightedGraph<java.lang.Integer> graph, java.util.Vector<java.lang.Integer> centers, java.util.HashMap<java.lang.Integer,java.lang.Integer> membership)
-
FindValidViews
private void FindValidViews(java.util.HashSet<java.lang.Integer> valid_views)
-
ComputeClusteringQualityDifference
private double ComputeClusteringQualityDifference(int candidate, java.util.Vector<java.lang.Integer> centers)
-
UpdateCanonicalViewAssignments
private void UpdateCanonicalViewAssignments(int canonical_view)
-
ComputeClusterMembership
private void ComputeClusterMembership(java.util.Vector<java.lang.Integer> centers, java.util.HashMap<java.lang.Integer,java.lang.Integer> membership)
-
-