nz.ac.waikato.mcennis.rat.graph.algorithm.prestige
Class AddBetweenessCentrality

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.model.ModelShell
      extended by nz.ac.waikato.mcennis.rat.graph.algorithm.prestige.AddBasicBetweenessCentrality
          extended by nz.ac.waikato.mcennis.rat.graph.algorithm.prestige.AddBetweenessCentrality
All Implemented Interfaces:
java.io.Serializable, Component, Algorithm, Model

public class AddBetweenessCentrality
extends AddBasicBetweenessCentrality

Class that provides a betweeness metric that matches Freeman79.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nz.ac.waikato.mcennis.rat.graph.algorithm.prestige.AddBasicBetweenessCentrality
serialVersionUID
 
Fields inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell
listener
 
Constructor Summary
AddBetweenessCentrality()
          Creates a new instance of AddBetweenessCentrality
 
Method Summary
protected  void sumPath(int i, int j, PathSet pathSet)
          Claculates betweeness with summing of multiple geodesic paths with the same start and end actors as specified in Freeman79
 
Methods inherited from class nz.ac.waikato.mcennis.rat.graph.algorithm.prestige.AddBasicBetweenessCentrality
calculateBetweeness, calculateBetweenessSD, calculateGraphBetweeness, execute, getInputType, getOutputType, getParameter, getParameter, getSettableParameter, getSettableParameter, init
 
Methods inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell
addListener, fireChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.model.Model
addListener
 

Constructor Detail

AddBetweenessCentrality

public AddBetweenessCentrality()
Creates a new instance of AddBetweenessCentrality

Method Detail

sumPath

protected void sumPath(int i,
                       int j,
                       PathSet pathSet)
Claculates betweeness with summing of multiple geodesic paths with the same start and end actors as specified in Freeman79

Overrides:
sumPath in class AddBasicBetweenessCentrality
Parameters:
i - index fo the source actor
j - index of the destination actor
pathSet - set of all geodesic paths
See Also:
nz.ac.waikato.mcennis.rat.grapoh.algorithm.AddBasicBetweenessCentrality