hub algorithm betweenness

Runs the betweeness algorithm on a model and saves the results for each entity to a model property.

Centrality algorithms measure the importance and significance of individual entities and relationships. When you run centrality algorithms, the value returned by an algorithm indicates importance of an element. The betweeness algorithm reflects the number of shortest paths between one entity and other entities. It is often used to find entities that serve as a bridge from one part of a graph to another.

Usage

hub algorithm betweenness --m model --d direction --wp weightProperty --lvsignificantLowValues --op outputProperty --w waitForComplete
RequiredArgumentDescription
Yes--m model

Specifies the model.

No--d directionSpecifies the direction to apply to the algorithm where direction is one of the following:
in
The results will be based on incoming relationships on the entity.
out
The results will be based on outgoing relationships on the entity.
both
The results will be based on both incoming and outgoing relationships on the entity. This is the default value.
No--wp weightProperty

Specifies a relationship property to use to measure how unfavorable a relationship is. By default, a higher value indicates a negative association. The default setting is null.

No--lv significantLowValuesIf a relationship property is used as weight, this specifies whether a lower value is considered better than a higher value.
true
Specifies that a lower value is considered better than a higher value for a relationship property used as weight. For example, if the property is some sort of ranking system, 1 or 1st would be considered the best value. If the property is distance, and you are trying to determine the shortest route, 5 miles would be considered better than 10 miles.
false
Specifies that a higher value is considered better than a lower value for a relationship property used as weight. This is the default value.
No--op outputProperty

Specifies the output property name to be something other than the algorithm name. The default is Betweeness.

No--w waitForComplete
Specifies whether to wait for jobs to complete in a synchronous mode.
true
Specifies to wait for jobs to complete in a synchronous mode.
false
Specifies to not wait for jobs to complete in a synchronous mode. This is the default value.

Example

The following will run the betweenness algorithm on the 911 model.

hub algorithm betweenness --m 911