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.Implementation. weightingThe node weighting approach.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. parse(String mode)Construct a node weighting instance corresponding to the givenmode.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 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, int iterations, Random random)Create an instance of the Chinese Whispers algorithm.Implementation(org.jgrapht.Graph<V,E> graph, NodeWeighting<V,E> weighting, int iterations, Random random)Create an instance of the Chinese Whispers clustering algorithm implementation.
-