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 classNodeWeighting.LabelNodeWeighting<V,E>A trivial and not particularly useful node weighting approach that assigns the current node label as the weight.static classNodeWeighting.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 classNodeWeighting.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 classNodeWeighting.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>NodeWeighting. label()A static factory method providing a convenient way to create an instance ofLabelNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeighting. linear()A static factory method providing a convenient way to create an instance ofLinearNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeighting. log()A static factory method providing a convenient way to create an instance ofLogNodeWeighting.static <V,E>
NodeWeighting<V,E>NodeWeighting. top()A static factory method providing a convenient way to create an instance ofTopNodeWeighting.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)A factory function that sets up the algorithm for the given graph.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.Constructors in org.nlpub.watset.graph with parameters of type NodeWeighting Constructor Description ChineseWhispers(org.jgrapht.Graph<V,E> graph, NodeWeighting<V,E> weighting)Create an instance of the Chinese Whispers algorithm.ChineseWhispers(org.jgrapht.Graph<V,E> graph, NodeWeighting<V,E> weighting, int iterations, Random random)Create an instance of the Chinese Whispers algorithm.
-