Uses of Interface
org.nlpub.watset.graph.NodeWeighting
-
Packages that use NodeWeighting Package Description org.nlpub.watset.graph Graph processing and clustering. -
-
Uses of NodeWeighting in org.nlpub.watset.graph
Classes in org.nlpub.watset.graph that implement NodeWeighting Modifier and Type Class Description static classNodeWeightings.LabelNodeWeighting<V,E>A trivial and not particularly useful node weighting approach that assigns the current node label as the weight.static classNodeWeightings.LinearNodeWeighting<V,E>The node weighting approach that chooses the label with the highest total edge weight in the neighborhood divided by the neighbor node degree.static classNodeWeightings.LogNodeWeighting<V,E>The node weighting approach that chooses the label with the highest total edge weight in the neighborhood divided by the logarithm of the neighbor node degree.static classNodeWeightings.TopNodeWeighting<V,E>The node weighting approach that chooses the label with the highest total edge weight in the neighborhood.Fields in org.nlpub.watset.graph declared as NodeWeighting Modifier and Type Field Description protected NodeWeighting<V,E>ChineseWhispers. weightingThe node weighting approach.Methods in org.nlpub.watset.graph that return NodeWeighting Modifier and Type Method Description static <V,E>
NodeWeighting<V,E>NodeWeightings. label()A static factory method providing a convenient way to create an instance ofNodeWeightings.LabelNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeightings. linear()A static factory method providing a convenient way to create an instance ofNodeWeightings.LinearNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeightings. log()A static factory method providing a convenient way to create an instance ofNodeWeightings.LogNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeightings. top()A static factory method providing a convenient way to create an instance ofNodeWeightings.TopNodeWeighting.Methods in org.nlpub.watset.graph with parameters of type NodeWeighting Modifier and Type Method Description static <V,E>
Function<org.jgrapht.Graph<V,E>,Clustering<V>>ChineseWhispers. provider(NodeWeighting<V,E> weighting)Deprecated.Replaced withChineseWhispers.provider(NodeWeighting, int, Random)static <V,E>
Function<org.jgrapht.Graph<V,E>,Clustering<V>>ChineseWhispers. provider(NodeWeighting<V,E> weighting, int iterations, Random random)A factory function that sets up the algorithm for the given graph.protected Map<Integer,Double>ChineseWhispers. score(org.jgrapht.Graph<V,E> graph, Map<V,Integer> labels, NodeWeighting<V,E> weighting, V node)Score the label weights in the given neighborhood graph, which is a subgraph ofChineseWhispers.graph.ChineseWhispers.Builder<V,E>ChineseWhispers.Builder. setWeighting(NodeWeighting<V,E> weighting)Set the the node weighting approach.Constructors in org.nlpub.watset.graph with parameters of type NodeWeighting Constructor Description ChineseWhispers(org.jgrapht.Graph<V,E> graph, NodeWeighting<V,E> weighting)Deprecated.Replaced with {ChineseWhispers(Graph, NodeWeighting, int, Random)}ChineseWhispers(org.jgrapht.Graph<V,E> graph, NodeWeighting<V,E> weighting, int iterations, Random random)Create an instance of the Chinese Whispers algorithm.
-